Boost logo

Boost Users :

From: Robert Zeh (razeh_at_[hidden])
Date: 2005-06-17 21:59:40

"Tom Browder" <tbrowder_at_[hidden]> writes:

>> -----Original Message-----
>> From: boost-users-bounces_at_[hidden]
>> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Robert Zeh
>> I'd be interested in seeing profiling output from your test
> I'm sending my tokenizer test package to Robert. Anyone else wanting it,
> please ask.
> -Tom

Tom, thank you for the test package. It is very well put together,
and I was able to start using it out of the box.

I tried things on my box. Without compiler optimization enabled (-O3)
and no profiling I get the following timings: (running each executable
with -i):

ttb: (boost)
28.93 user .38 system
tts (Tom Browder's)
24.25 user 0.92 system
ttv (Victor Wagner's)
24.66 user 1.05 system

With compiler optimization I get much better results:
razeh_at_squirmy:~/timing/tokenizer_test$ make time
ttb: (boost)
16.49 user 0.33 system
tts: (Tom Browder's)
21.46 user 0.95 system
ttv: (Victor Wagner's)
21.91 user 1.00 system

I only ran it twice; the second time the durations didn't change by
more then half a second.

Robert Zeh
My machine specifications:

I have a 650 MHz Duron running Debian, with the following

razeh_at_squirmy:~/timing/tokenizer_test$ g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-12)
razeh_at_squirmy:~/timing/tokenizer_test$ uname -a
Linux squirmy 2.6.8-2-k7 #1 Mon Jan 24 03:29:52 EST 2005 i686 GNU/Linux

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at