http icon indicating copy to clipboard operation
http copied to clipboard

Write simple performance benchmarks

Open cgay opened this issue 14 years ago • 3 comments

Would be nice to have a VERY SIMPLE performance benchmark just to get a ball park idea of where we stand, and to be able to detect gross changes in performance.

cgay avatar Mar 08 '11 12:03 cgay

Could try using Apache Bench (ab)

cgay avatar Mar 08 '11 19:03 cgay

I wrote a simple benchmark that does what required by TechEmpower's FrameworkBenchmarks (as seen on HN) (link to blog post). You can find the code here (Probably I made more than one mistake per line).

I run some benchmark on my notebook and this are the result, I compared with go because it was the benchmark that required less setup.

fracek avatar Apr 09 '13 15:04 fracek

Could you submit that benchmark as a pull request adding it to examples/tech-empower-benchmark?

It'd be nice to re-run the results after that with a current HTTP server.

waywardmonkeys avatar May 07 '14 10:05 waywardmonkeys