Re: simple iostream benchmark

2007-05-15 Thread Martin Sebor
mark.g.brown wrote: Hi, I wrote the attached simple benchmark program to compare iostreams and C stdio. Running it with -1000 and 1000 on the command line on Linux 2.6.9 (GNU libc 2.5) I get the numbers below for each of the implementations I tried when using /dev/null and /tmp/file as t

simple iostream benchmark

2007-05-15 Thread mark.g.brown
Hi, I wrote the attached simple benchmark program to compare iostreams and C stdio. Running it with -1000 and 1000 on the command line on Linux 2.6.9 (GNU libc 2.5) I get the numbers below for each of the implementations I tried when using /dev/null and /tmp/file as the sink: