This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
A tiny benchmark...
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org, Nathan Myers <ncm at cantrip dot org>
- Date: Sun, 05 Oct 2003 23:26:15 +0200
- Subject: A tiny benchmark...
- References: <3F805BC0.5070006@unitus.it>
Hi,
just a tiny benchmark.
On my machine (P4-2400, Linux2.4.22) this 7076-type test,
compiled -O2:
for (int i = 0; i < 15000000; i++)
std::cout << std::setw(30) << i << '\n';
a.out > /dev/null
baseline
--------
9.820u 0.040s 0:09.99 98.6% 0+0k 0+0io 193pf+0w
__pad patch
-----------
8.790u 0.070s 0:08.99 98.5% 0+0k 0+0io 194pf+0w
Paolo.