Skip to content

Program to check how much time taken by node js to respond.

Notifications You must be signed in to change notification settings

theatulanand/nodeJs-Benchmarking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NODEJS - BENCHMARKING

Observations


Time taken by node server to send response in millisecond.


For text file of size more than 1 mb.

Attempt #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 Average
Sync 13 13 9.9 5.05 6.98 7.8 7.7 4.76 5.59 5.05 7.583
Async 16 6.72 11 7.27 5.42 6.72 7.14 5.14 5.27 5.84 7.6
Stream 02 0.9 1.65 0.5 0.4 0.3 0.66 0.5 0.9 0.43 0.8
Promise 16 17 15 15 14 15 16 13 22 25 16.8

For text file of size less than 1 mb.

Attempt #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 Average
Sync 2.17 3.49 4.22 5.05 2.8 7.92 2.34 2.37 2.17 4.2 3.679
Async 3.38 4.4 2.79 4.24 4.25 4.58 5.4 5.86 3.7 5.17 4.377
Stream 1.97 2.46 1.23 0.98 1.1 1.38 1.03 0.98 1.61 1.12 1.386
Promise 10 4.44 3.16 2.81 2.55 10 3.29 3.99 4.06 2.53 4.683

About

Program to check how much time taken by node js to respond.

Topics

Resources

Stars

Watchers

Forks