Docs
Overview
Performance
Performance
#Overview
- Target Versions
Typescript
const targets = ['4.0.1'];
#Benchmark Result
Pkg | Latency | Requests/Sec | Bytes/Sec |
---|---|---|---|
4.0.1:serpack-on | 0.03 ms | 17.4K | 2.22 MB |
4.0.1 | 0.03 ms | 16.9K | 2.16 MB |
zely build | 0.03 ms | 17.6K | 2.25 MB |
This benchmark sends an initial request to
/
to warm up the server, so the measured performance reflects warm (not cold) response times.
INFO
The reason serpack is enabled
or disabled
in the table above is to show
that the performance is similar regardless of whether it is turned on or off.
The above results is intended to compare relative performance across versions and may vary depending on the execution environment.
#Run Benchmark
To see the performance of past versions of zely, clone the benchmarking repository.
Terminal
yarn build # build zely versions / benchmark
yarn build --keep # keep builds / benchmark
After running, check the automatically created result.md
.
#Version history
Pkg | Latency | Requests/Sec | Bytes/Sec |
---|---|---|---|
3.0.0 | 1.06 ms | 6.5K | 848.84 KB |
2.0.0-next.24 | 0.1 ms | 12.7K | 1.63 MB |
1.0.0 | 0.02 ms | 18.7K | 2.39 MB |