hanami / view

Views, templates and presenters for Ruby web applications
http://hanamirb.org
MIT License
173 stars 80 forks source link

Tidy all benchmarks and a tilt comparison #211

Closed timriley closed 2 years ago

timriley commented 2 years ago

Here's the (current) result of comparing hanami-view, rails, and raw tilt:

Warming up --------------------------------------
         hanami/view   790.000  i/100ms
               rails   776.000  i/100ms
                tilt    10.579k i/100ms
Calculating -------------------------------------
         hanami/view      7.787k (± 0.3%) i/s -     39.500k in   5.072453s
               rails      7.769k (± 0.2%) i/s -     39.576k in   5.094399s
                tilt    105.479k (± 0.2%) i/s -    528.950k in   5.014756s

Comparison:
                tilt:   105479.3 i/s
         hanami/view:     7787.3 i/s - 13.55x  (± 0.00) slower
               rails:     7768.6 i/s - 13.58x  (± 0.00) slower