Giter Site home page Giter Site logo

optimize-end-tag-fizz's Introduction

My benchmarks showed an improvement of over 10% in requests/second

test server

$ node test.js
Server running at http://localhost:9080/

baseline

❯ oha http://localhost:9080 -z 5s -c 20
Summary:
  Success rate: 100.00%
  Total:        5.0012 secs
  Slowest:      0.2563 secs
  Fastest:      0.0079 secs
  Average:      0.0244 secs
  Requests/sec: 815.2023

  Total data:   142.27 MiB
  Size/request: 35.73 KiB
  Size/sec:     28.45 MiB

Response time histogram:
  0.008 [1]    |
  0.033 [3840] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  0.058 [223]  |■
  0.082 [3]    |
  0.107 [2]    |
  0.132 [1]    |
  0.157 [2]    |
  0.182 [1]    |
  0.207 [1]    |
  0.231 [1]    |
  0.256 [2]    |

optimized

❯ oha http://localhost:9080 -z 5s -c 20
Summary:
  Success rate: 100.00%
  Total:        5.0010 secs
  Slowest:      0.2155 secs
  Fastest:      0.0113 secs
  Average:      0.0219 secs
  Requests/sec: 910.2111

  Total data:   158.85 MiB
  Size/request: 35.73 KiB
  Size/sec:     31.76 MiB

Response time histogram:
  0.011 [1]    |
  0.032 [4302] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  0.052 [240]  |■
  0.073 [1]    |
  0.093 [1]    |
  0.113 [2]    |
  0.134 [1]    |
  0.154 [0]    |
  0.175 [1]    |
  0.195 [2]    |
  0.215 [1]    |

optimize-end-tag-fizz's People

Contributors

yujunjung avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.