Boost logo

Boost :

Subject: Re: [boost] [xpressive] Performance Tuning?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-07-28 10:25:43


On Tue, Jul 28, 2009 at 7:35 AM, Edward Grace<ej.grace_at_[hidden]> wrote:
> Perhaps you could try a more canonical test - running
> "ejg_uint_parser_0_0_4.cpp"
>
> http://tinyurl.com/lro5ok
>
> That does not make use of boost::bind - but tries to avoid the optimizer
> getting rid of void(void) functions by using globals.

I have no clue why I am still awake, brain is already shut down, code
is a blurry blob to me right now, but I still compiled and ran your
latest file. :)

The results:

initializing input strings...
Calibrating overhead......done
Timer overhead (t_c) ~= : 12
Jitter ~= : 8.43769e-015
qi_parse vs atoi : 1381.05 1385.57 1389.6% faster.
qi_parse vs strtol : 1365.82 1389.6 1597.94% faster.
strtol vs atoi : 1.03202 1.04052 10.6428% faster.
qi_parse vs qi_parse : 0 0 0% faster.

Checking that the results are correct...
atoi is behaving itself!
strtol is behaving itself!
qi is behaving itself!

All done!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk