Docs
Overview
Performance

Performance

#Overview

  • Target Versions
Typescript
const targets = ['4.0.1'];

#Benchmark Result

PkgLatencyRequests/SecBytes/Sec
4.0.1:serpack-on0.03 ms17.4K2.22 MB
4.0.10.03 ms16.9K2.16 MB
zely build0.03 ms17.6K2.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

PkgLatencyRequests/SecBytes/Sec
3.0.01.06 ms6.5K848.84 KB
2.0.0-next.240.1 ms12.7K1.63 MB
1.0.00.02 ms18.7K2.39 MB