davidcelis/api-benchmarks — pull request #2 by mzniko (2014-04-03 07:07:55+00:00)
Title: Pakyow

David,

Thought I would contribute by adding the little-known Pakyow framework (they advertise 45% faster than Sinatra!). They released 0.8 a couple weeks ago, adding significant changes to their router.

http://pakyow.com/
http://pakyow.com/docs

Unfortunately, I'm having some trouble on my local machine getting 'rake benchmark:pakyow' to actually start the server properly (I get an 'unable to connect to 0.0.0.0:9292 Connection refused' error), and if I 'bundle exec rackup pakyow', I'm unable to access my wiggles! My postgres install seems to be fine and the db was properly populated with db:setup, so, I'm not sure what is going on.

Past the aforementioned db issue, the rest of it should work as expected. Pakyow has a strange view-first architecture, so it actually requires the existence of a view/_templates folder and a pakyow.html file. The names of those folders and the default file can be changed, but I don't know how to eliminate their necessity. The rest of the changes should be self-explanatory. Sorry I couldn't fully test!

Marko

PS. this is my first real life pull request ever!