All Projects → hbakhtiyor → Node Frameworks Benchmark

hbakhtiyor / Node Frameworks Benchmark

Simple HTTP benchmark for different nodejs frameworks using wrk

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Node Frameworks Benchmark

Electrode Csrf Jwt
Stateless Cross-Site Request Forgery (CSRF) protection with JWT
Stars: ✭ 127 (+8.55%)
Mutual labels:  express, koa, hapi
Grant
OAuth Proxy
Stars: ✭ 3,509 (+2899.15%)
Mutual labels:  express, koa, hapi
Cls Rtracer
Request Tracer - CLS-based request id generation for Express, Fastify, Koa and Hapi, batteries included
Stars: ✭ 175 (+49.57%)
Mutual labels:  express, koa, hapi
Node Rate Limiter Flexible
Node.js rate limit requests by key with atomic increments in single process or distributed environment.
Stars: ✭ 1,950 (+1566.67%)
Mutual labels:  express, koa, hapi
Permit
An unopinionated authentication library for building Node.js APIs.
Stars: ✭ 1,654 (+1313.68%)
Mutual labels:  express, koa, hapi
Apollo Server
🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
Stars: ✭ 12,145 (+10280.34%)
Mutual labels:  express, koa, hapi
Openapi Backend
Build, Validate, Route, Authenticate and Mock using OpenAPI
Stars: ✭ 216 (+84.62%)
Mutual labels:  express, koa, hapi
Cabin
🌲 Cabin is the best JavaScript and Node.js logging service and logging npm package
Stars: ✭ 622 (+431.62%)
Mutual labels:  express, koa
Koa2 Api Scaffold
一个基于Koa2的轻量级RESTful API Server脚手架。
Stars: ✭ 694 (+493.16%)
Mutual labels:  express, koa
Kona
a node.js service framework built on koa.js (generators)
Stars: ✭ 23 (-80.34%)
Mutual labels:  express, koa
Graphql Upload
Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
Stars: ✭ 1,071 (+815.38%)
Mutual labels:  express, koa
Create Graphql
Command-line utility to build production-ready servers with GraphQL.
Stars: ✭ 441 (+276.92%)
Mutual labels:  express, koa
Node Tutorial
☺️Some of the node tutorial -《Node学习笔记》
Stars: ✭ 364 (+211.11%)
Mutual labels:  express, koa
Vue Chat
👥Vue全家桶+Socket.io+Express/Koa2打造一个智能聊天室。
Stars: ✭ 887 (+658.12%)
Mutual labels:  express, koa
Node Abc
《Node.js入门教程》
Stars: ✭ 306 (+161.54%)
Mutual labels:  express, koa
Deprecated
🚀 Framework for building universal web app and static website in Vue.js (beta)
Stars: ✭ 858 (+633.33%)
Mutual labels:  express, koa
Vue Socket.io Chat
💬 TypeScript + Vue + Express/Koa + Socket.io
Stars: ✭ 61 (-47.86%)
Mutual labels:  express, koa
Angela
🙂angela (安其拉):react ssr router redux; react同构框架
Stars: ✭ 15 (-87.18%)
Mutual labels:  express, koa
Analys Middlewares
redux, koa, express 中间件对比实现分析
Stars: ✭ 83 (-29.06%)
Mutual labels:  express, koa
Vox
Simple and lightweight Go web framework inspired by koa
Stars: ✭ 74 (-36.75%)
Mutual labels:  express, koa

Simple HTTP benchmark for different nodejs frameworks using wrk

Prerequisites

Installation

git clone [email protected]: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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].