•  


GitHub - hbakhtiyor/node-frameworks-benchmark: Simple HTTP benchmark for different nodejs frameworks using wrk
Skip to content

hbakhtiyor/node-frameworks-benchmark

Folders and files

Name Name
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP benchmark for different nodejs frameworks using wrk

Prerequisites

Installation

git clone git@github.com:hbakhtiyor/node-frameworks-benchmark.git 
&&
 cd
 node-frameworks-benchmark
yarn [install]

How to run or automatically it can run after yarn install

make

After finish the make tasks, look at benchmarks.txt file or your console output.

Result of benchmarks without measuring cpu/memory usage

Simple HTTP benchmark results (wrk) with close connection

20220.47 Requests/sec - ukoa.js
13594.83 Requests/sec - ufeathers.js
12812.89 Requests/sec - uexpress.js
4204.16 Requests/sec - total/total.js
3043.56 Requests/sec - rawnode.js
2365.02 Requests/sec - feathers.js
2242.12 Requests/sec - koa.js
1784.28 Requests/sec - micro.js
1698.33 Requests/sec - express.js
1443.69 Requests/sec - restify.js
512.29 Requests/sec - hapi.js
158.26 Requests/sec - uws.js

Simple HTTP benchmark results (wrk) with keep-alive connection

54232.14 Requests/sec - uws.js
21036.52 Requests/sec - ukoa.js
13547.05 Requests/sec - ufeathers.js
13213.85 Requests/sec - micro.js
12514.36 Requests/sec - uexpress.js
12427.84 Requests/sec - rawnode.js
8597.81 Requests/sec - total/total.js
7594.78 Requests/sec - koa.js
5600.86 Requests/sec - express.js
4775.49 Requests/sec - restify.js
2959.22 Requests/sec - feathers.js
1215.46 Requests/sec - sails/sails.js
1077.86 Requests/sec - hapi.js

Hardware used

  • Intel® Core™ i3-2310M CPU @ 2.10GHz × 4
  • 4Gb RAM

Version

  • Node v7.9.0
  • Ubuntu 17.04 LTS x86_64 OS
  • 4.10.0-20-generic kernel

Notes

  • Some frameworks used with uWebSockets server.
  • This runs a benchmark for 5 minutes, using 12 threads, and keeping 400 HTTP connections open.
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본