Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 2.13 KB

performances.md

File metadata and controls

51 lines (36 loc) · 2.13 KB

REserve performances

🔝 REserve documentation

Method used

Static servers are created using different frameworks :

A benchmark tool - based on autocannon - measure the number of hits achieved on the following URLs :

  • /hello : which returns "Hello World !" statically
  • /index.html : which is a file mapping to index.html

Important

The default settings of autocannon are kept : 10 rounds of measurements are recorded.

Results

Hello World !

implementation Average hits / 10s
express 81019 
koa 224420
reserve 226501
fastify 252594 
native  279925

index.html

implementation Average hits / 10s
index.html  45396
express 43082
native 43703
koa 44386
reserve 47163
fastify 48750 

Note

Some implementations cache the file information. It explains why they are faster than the native one.

Conclusions

REserve appears to be slower than fastify but is faster than express and koa.