{"repo":"hanami/hanami-api","free":true,"listed":false,"github":"https://github.com/hanami/hanami-api","clone":"git clone https://github.com/hanami/hanami-api.git","description":"Minimal, lightweight, fastest Ruby framework for HTTP APIs.","language":"Ruby","stars":367,"topics":["ruby","hanami","api","http","lightweight-ruby-framework","lightweight","performance","speed","streamed-responses","body-parsers"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Hanami::API Minimal, extremely fast, lightweight Ruby framework for HTTP APIs. Status Contact Home page: http://hanamirb.org Mailing List: http://hanamirb.org/mailing-list API Doc: http://rubydoc.info/gems/hanami-api Bugs/Issues: https://github.com/hanami/api/issues Chat: http://chat.hanamirb.org Installation Hanami::API supports Ruby (MRI) 3.2+ Add these lines to your application's Gemfile : And then execute: Or install it yourself as: Performance + Runtime + Memory + Requests per second Usage + Routes + HTTP methods + Endpoints - Rack endpoint - Block endpoint String (body) Enumerator (body) Integer (status code) Integer, String (status code, body) Integer, Enumerator (status code, body) Integer, Hash, String (status code, headers, body) Integer, Hash, Enumerator (status code, headers, body) + Block context - env - status - headers - body - params - halt - redirect - back - json + Scope + Helpers + Rack Middleware + Streamed Responses + Body Parsers Testing Development Contributing Performance Benchmark against an app with 10,000 routes, hitting the 10,000th to measure the worst case scenario. Based on jeremyevans/r10k , Hanami::API scores first for speed, and second for memory footprint. Runtime Runtime to complete 20,000 requests (lower is better). Framework Seconds to complete ------------ --------------------- hanami-api 0.116 watts 0.235 roda 0.348 syro 0.356 rack-app 0.623 cuba 1.291 rails 17.047 sinatra 197.477 Memory Memory footprint for 10,000 routes app (lower is ","default_branch":null,"files":null,"tree":[],"storefront":"/r/hanami","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hanami/hanami-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}