Skip to content

funshion/winston-performance-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

winston-performance-test

Winston (A multi-transport async logging library for node.js). https://github.com/flatiron/winston

winston 性能测试

Preparation

npm install winston
npm install cofee-script

coffee winston-performance-test.coffee

Results

server: 虚拟机 512M内存,1颗CPU(1核)

连续写入 100,000条记录 ,每条记录554Bytes
winston: 阻塞耗时 34483697ms (JSON), 25392901ms (text)
fs stream:阻塞耗时 528570ms (text)
winston + fs stream方式:阻塞耗时 2901
3013ms (text)


陈建斌

About

Winston(Node.js框架)性能测试

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published