Skip to content

Commit fa3ee7e

Browse files
chore(nestjs) push latest bundle
1 parent d588050 commit fa3ee7e

43 files changed

Lines changed: 4970 additions & 3410 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

benchmarks/all_output.txt

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.......................
2+
express
3+
.......................
4+
Running 10s test @ http://localhost:3000
5+
8 threads and 1024 connections
6+
Thread Stats Avg Stdev Max +/- Stdev
7+
Latency 47.78ms 19.09ms 212.47ms 66.94%
8+
Req/Sec 1.31k 268.90 2.07k 72.38%
9+
104687 requests in 10.02s, 21.47MB read
10+
Socket errors: connect 0, read 877, write 0, timeout 0
11+
Requests/sec: 10444.24
12+
Transfer/sec: 2.14MB
13+
.......................
14+
fastify
15+
.......................
16+
Running 10s test @ http://localhost:3000
17+
8 threads and 1024 connections
18+
Thread Stats Avg Stdev Max +/- Stdev
19+
Latency 19.16ms 7.24ms 114.56ms 58.84%
20+
Req/Sec 3.23k 782.93 4.92k 78.75%
21+
256793 requests in 10.02s, 33.55MB read
22+
Socket errors: connect 0, read 846, write 0, timeout 0
23+
Requests/sec: 25619.91
24+
Transfer/sec: 3.35MB
25+
.......................
26+
nest
27+
.......................
28+
Running 10s test @ http://localhost:3000
29+
8 threads and 1024 connections
30+
Thread Stats Avg Stdev Max +/- Stdev
31+
Latency 49.39ms 16.95ms 174.21ms 69.37%
32+
Req/Sec 1.23k 468.57 2.48k 59.25%
33+
98406 requests in 10.06s, 20.27MB read
34+
Socket errors: connect 0, read 875, write 0, timeout 0
35+
Requests/sec: 9779.15
36+
Transfer/sec: 2.01MB
37+
.......................
38+
nest-fastify
39+
.......................
40+
Running 10s test @ http://localhost:3000
41+
8 threads and 1024 connections
42+
Thread Stats Avg Stdev Max +/- Stdev
43+
Latency 26.63ms 11.03ms 91.14ms 72.37%
44+
Req/Sec 2.29k 801.61 4.71k 71.88%
45+
182595 requests in 10.04s, 24.03MB read
46+
Socket errors: connect 0, read 888, write 0, timeout 0
47+
Requests/sec: 18192.36
48+
Transfer/sec: 2.39MB

benchmarks/express.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict';
2+
3+
const express = require('express');
4+
const app = express();
5+
6+
app.get('/', async (req, res) => res.send('Hello world'));
7+
app.listen(3000);

benchmarks/fastify.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
const fastify = require('fastify')();
4+
fastify.get('/', async (req, reply) => reply.send('Hello world'));
5+
fastify.listen(3000);

benchmarks/nest-fastify.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/nest.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export declare class AppController {
2+
root(): string;
3+
}

benchmarks/nest/app.controller.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/nest/app.controller.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/nest/app.module.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export declare class AppModule {}

benchmarks/nest/app.module.js

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)