README.md in rack-app-0.2.1 vs README.md in rack-app-0.2.2

- old
+ new

@@ -86,13 +86,28 @@ * bare bone simple example app * [Escher Authorized Api](https://github.com/adamluzsi/rack-app.rb-examples/tree/master/escher_authorized) * complex authorization for corporal level api use +## [Benchmarking](https://github.com/adamluzsi/rack-app.rb-benchmark) + +* Dump duration with zero if or routing: 6.0e-06 s + * no routing + * return only a static array with static values +* Rack::APP duration with routing lookup: 7.0e-05 s + * with routing + * with value parsing and reponse object building +* Grape::API duration with routing lookup: 0.180764 s + * with routing + * with value parsing and reponse object building + +This was measured with multiple endpoints like that would be in real life example. +i feared do this for Rails that is usually slower than Grape :S + ## TODO -* benchmark for rails, padrino, sinatra, grape etc to prove awesomeness in term of speed +* benchmark for rails, padrino, sinatra etc to prove awesomeness in term of speed * more verbose readme * drink less coffee ## Roadmap @@ -106,9 +121,14 @@ ### 0.5.0 * content_type syntax sugar on class level * response_headers syntax sugar for request processing + +### 0.6.0 + +* custom error_handler block for api, where Exception class types can be defined to process + * NULL Object pattern for error_handler_fetcher ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.