mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 15:08:37 +00:00
88 lines
9.3 KiB
Plaintext
88 lines
9.3 KiB
Plaintext
-----------------------
|
|
express
|
|
-----------------------
|
|
Running 10s test @ http://localhost:3000
|
|
1024 connections
|
|
|
|
┌─────────┬───────┬───────┬───────┬────────┬──────────┬──────────┬────────┐
|
|
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
|
|
├─────────┼───────┼───────┼───────┼────────┼──────────┼──────────┼────────┤
|
|
│ Latency │ 55 ms │ 58 ms │ 91 ms │ 138 ms │ 61.88 ms │ 23.95 ms │ 747 ms │
|
|
└─────────┴───────┴───────┴───────┴────────┴──────────┴──────────┴────────┘
|
|
┌───────────┬─────────┬─────────┬─────────┬─────────┬──────────┬─────────┬─────────┐
|
|
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
|
|
├───────────┼─────────┼─────────┼─────────┼─────────┼──────────┼─────────┼─────────┤
|
|
│ Req/Sec │ 8407 │ 8407 │ 17407 │ 17743 │ 16454.41 │ 2716.94 │ 8402 │
|
|
├───────────┼─────────┼─────────┼─────────┼─────────┼──────────┼─────────┼─────────┤
|
|
│ Bytes/Sec │ 1.81 MB │ 1.81 MB │ 3.74 MB │ 3.81 MB │ 3.54 MB │ 584 kB │ 1.81 MB │
|
|
└───────────┴─────────┴─────────┴─────────┴─────────┴──────────┴─────────┴─────────┘
|
|
|
|
Req/Bytes counts sampled once per second.
|
|
|
|
165k requests in 10.17s, 35.4 MB read
|
|
-----------------------
|
|
nest (with "@nestjs/platform-express")
|
|
-----------------------
|
|
Running 10s test @ http://localhost:3000
|
|
1024 connections
|
|
|
|
┌─────────┬───────┬───────┬───────┬───────┬──────────┬──────────┬────────┐
|
|
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
|
|
├─────────┼───────┼───────┼───────┼───────┼──────────┼──────────┼────────┤
|
|
│ Latency │ 61 ms │ 64 ms │ 71 ms │ 94 ms │ 65.44 ms │ 17.35 ms │ 325 ms │
|
|
└─────────┴───────┴───────┴───────┴───────┴──────────┴──────────┴────────┘
|
|
┌───────────┬─────────┬─────────┬─────────┬─────────┬─────────┬────────┬─────────┐
|
|
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
|
|
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────────┤
|
|
│ Req/Sec │ 14183 │ 14183 │ 15767 │ 15991 │ 15640 │ 501.13 │ 14182 │
|
|
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────────┤
|
|
│ Bytes/Sec │ 3.06 MB │ 3.06 MB │ 3.41 MB │ 3.45 MB │ 3.38 MB │ 108 kB │ 3.06 MB │
|
|
└───────────┴─────────┴─────────┴─────────┴─────────┴─────────┴────────┴─────────┘
|
|
|
|
Req/Bytes counts sampled once per second.
|
|
|
|
156k requests in 10.24s, 33.8 MB read
|
|
-----------------------
|
|
fastify
|
|
-----------------------
|
|
Running 10s test @ http://localhost:3000
|
|
1024 connections
|
|
|
|
┌─────────┬───────┬───────┬───────┬───────┬──────────┬──────────┬─────────┐
|
|
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
|
|
├─────────┼───────┼───────┼───────┼───────┼──────────┼──────────┼─────────┤
|
|
│ Latency │ 27 ms │ 30 ms │ 39 ms │ 78 ms │ 31.62 ms │ 26.59 ms │ 1232 ms │
|
|
└─────────┴───────┴───────┴───────┴───────┴──────────┴──────────┴─────────┘
|
|
┌───────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
|
|
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
|
|
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
|
|
│ Req/Sec │ 19935 │ 19935 │ 33247 │ 34111 │ 32030.4 │ 4103.84 │ 19931 │
|
|
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
|
|
│ Bytes/Sec │ 3.03 MB │ 3.03 MB │ 5.05 MB │ 5.19 MB │ 4.87 MB │ 624 kB │ 3.03 MB │
|
|
└───────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
|
|
|
|
Req/Bytes counts sampled once per second.
|
|
|
|
320k requests in 10.18s, 48.7 MB read
|
|
-----------------------
|
|
nest (with "@nestjs/platform-fastify")
|
|
-----------------------
|
|
Running 10s test @ http://localhost:3000
|
|
1024 connections
|
|
|
|
┌─────────┬───────┬───────┬───────┬───────┬──────────┬──────────┬────────┐
|
|
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
|
|
├─────────┼───────┼───────┼───────┼───────┼──────────┼──────────┼────────┤
|
|
│ Latency │ 31 ms │ 33 ms │ 38 ms │ 52 ms │ 34.41 ms │ 11.73 ms │ 245 ms │
|
|
└─────────┴───────┴───────┴───────┴───────┴──────────┴──────────┴────────┘
|
|
┌───────────┬─────────┬─────────┬────────┬─────────┬─────────┬─────────┬─────────┐
|
|
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
|
|
├───────────┼─────────┼─────────┼────────┼─────────┼─────────┼─────────┼─────────┤
|
|
│ Req/Sec │ 24911 │ 24911 │ 30031 │ 30335 │ 29470.4 │ 1564.48 │ 24907 │
|
|
├───────────┼─────────┼─────────┼────────┼─────────┼─────────┼─────────┼─────────┤
|
|
│ Bytes/Sec │ 3.81 MB │ 3.81 MB │ 4.6 MB │ 4.64 MB │ 4.51 MB │ 239 kB │ 3.81 MB │
|
|
└───────────┴─────────┴─────────┴────────┴─────────┴─────────┴─────────┴─────────┘
|
|
|
|
Req/Bytes counts sampled once per second.
|
|
|
|
295k requests in 10.17s, 45.1 MB read |