Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

eweseong/node-logger-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-logger-benchmark

A logger sample to benchmark the performance between pino and winston in koa.

Commands

Start koa with pino logger

npm run start:pino

Start koa with winston logger

npm run start:winston

Start benchmarking logger

# run this only when one of the server above is started
# remember to warm up the server by running the benchmark command
# a few time until the result is consistent.
npm run benchmark

Results

October 16th, 2020

Pino logger

pino resuslt

Winston logger

winston resuslt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published