http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59439

--- Comment #3 from Ben Maurer <ben.maurer at gmail dot com> ---
Created attachment 31405
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31405&action=edit
Benchmark

 _build/opt/experimental/bmaurer/benchmark
snprintf
1 threads took 20 ms
2 threads took 20 ms
3 threads took 20 ms
4 threads took 20 ms
5 threads took 22 ms
..
31 threads took 43 ms
iostream
1 threads took 108 ms
2 threads took 219 ms
3 threads took 371 ms
4 threads took 451 ms
5 threads took 559 ms
6 threads took 655 ms
7 threads took 763 ms
8 threads took 908 ms
9 threads took 1015 ms
...
31 threads took 3176 ms

Reply via email to