Re: Qi Symbols parser performance
Seth <[email protected]> Sun, 14 Jan 2018 04:07:58 +0100
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 13-01-18 19:36, Stephan Menzel wrote:
> May I ask, how did you get these results? 98 ns strikes
> me as very impressive.
It was on
* linux 64 bit kernel 4.4.0-103-generic
* Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
* g++ 7.x (I guess, it could also have been the default g++ 5.4.1 of
the box)
* optimized and targeting the native architecture
So. Indeed, I already noticed the timings on rextester (MSVC) weren't up
to par but didn't investigate (I don't have a windows machine).
Lambda runs took 1407315349 nanoseconds
Qi runs took 8304731 nanoseconds
Map runs took 8311891 nanoseconds
I guessed it was down to optimization flags, debug iterators. Also keep
in mind that there have been problems with the accuracy of MSVC's chrono
implementations.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general