fukamachi / woo

A fast non-blocking HTTP server on top of libev
http://ultra.wikia.com/wiki/Woo_(kaiju)
MIT License
1.29k stars 97 forks source link

Benchmark Racket web server #73

Closed logc closed 5 years ago

logc commented 6 years ago

Adds a benchmark of the standard Racket web server. There are reported number in the benchmarks.md example run; they are intended as placeholders until this benchmark has run in a comparable setup to all other web servers.

Also, please note that this implementation is quite naïve and could probably be improved upon. Originally, I read your benchmarks and wanted to have comparable numbers for Racket. Then I thought about contributing back my benchmark.

logc commented 6 years ago

There is also a benchmark for a Typed Racket version of the same script. The performance was actually worse than the untyped version.

logc commented 6 years ago

The build failure seems unrelated to my changes:

; Loading "cffi-grovel" While evaluating the form starting at line 15, column 0 of #P"/Users/travis/build/fukamachi/woo/woo.asd": Unhandled MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING {10005505B3}>: Component "cffi-grovel" not found

logc commented 6 years ago

@fukamachi any feedback on this PR?