Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 505 Bytes

readme.md

File metadata and controls

34 lines (22 loc) · 505 Bytes

Benchmarking multicore Node.js

A very simple node.js server trying to benchmark single-core vs multi-core performance

Benchmark single core

node singlecore.js
ab -n 10000 -c 100  http://127.0.0.1:8000/

Benchmark Multi core

node multicore.js
ab -n 10000 -c 100  http://127.0.0.1:8000/

Benchmark Go

go run main.go
ab -n 10000 -c 100  http://127.0.0.1:8000/

Benchamark aiohttp Python3

python server.py
ab -n 10000 -c 100  http://127.0.0.1:8000/