05-Feb-2013 22:25, Brian Schott пишет:
On Tuesday, 5 February 2013 at 08:52:53 UTC, Dmitry Olshansky
wrote:
Time to do some hacking on your lexer I guess. I'll try add a couple
of tricks and see if it helps.

What command do you use for benchmarking?

I've been using avgtime[1] for measuring run times, perf[2], and
callgrind/kcachegrind[3] for profiling.

[1] https://github.com/jmcabo/avgtime
[2] https://perf.wiki.kernel.org/index.php/Tutorial
[3] http://kcachegrind.sourceforge.net/html/Home.html

Thanks.
I've made a pass through the code and found some places to improve.
Sadly I've been rather busy at work today. Anyway get ready for pull requests should my ideas prove to be worthy performance-wise.

--
Dmitry Olshansky

Reply via email to