Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's the repo made for?

This repo try to compare the I/O performanceofnodejs-expressandjava-springboot via wrk

nodejs-express

How to test

  • prerequisites
    • install nodejs and pm2
    • install dependencies
npm i pnpm -g
pnpm i
pnpm start
wrk wrk -t12 -c400 -d30s http://127.0.0.1:3000

java-springboot

How to test

  • prerequisites
    • install java and IDEA
    • install dependencies(automatic download in IDEA)
    • run package by Maven to get jar file
java -jar target/demo-0.0.1-SNAPSHOT.jar
wrk wrk -t12 -c400 -d30s http://127.0.0.1:8080

Some results

nodejs-express java-tomcat-start java-tomcat java-webflux

About

compare performance between java and nodejs

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages