|
Boost : |
From: vesa_karvonen (vesa_karvonen_at_[hidden])
Date: 2002-01-24 04:32:27
I have been performing some optimization of the preprocessor library
primitives. Here are the results of running the tests on my laptop:
Before optimization on Comeau 4.2.38:
0m0.280s preprocessor_test.cpp
0m0.110s logical_test.cpp
0m0.650s for_test.cpp
0m5.280s repeat_test.cpp
1m3.000s arithmetic_test.cpp
13m2.190s repeat_2nd_test.cpp
8m28.110s list_test.cpp
22m40.280s TOTAL
After optimization on Comeau 4.2.38:
0m0.380s preprocessor_test.cpp (probably due to "cold start")
0m0.110s logical_test.cpp
0m0.380s for_test.cpp
0m2.090s repeat_test.cpp
0m38.280s arithmetic_test.cpp
6m18.930s repeat_2nd_test.cpp
5m43.340s list_test.cpp
12m44.610s TOTAL
As you can see, the compile times reduced considerably. [Compile
times on g++ and MSVC++ are much faster (all tests compile under 1
second on MSVC++).] There are still some opportunities for
optimization.
I'd be interested to have some way to be able to compile the tests on
the latest CodeWarrior compilers.
I'll probably device some examples for profiling.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk