Microbenchmark comparing a very simple Node.js and Go HTTP service running on the local machine.
Node v12.12.0
Transactions: 183560 hits
Availability: 100.00 %
Elapsed time: 119.78 secs
Data transferred: 2.52 MB
Response time: 0.01 secs
Transaction rate: 1532.48 trans/sec <--
Throughput: 0.02 MB/sec
Concurrency: 14.97
Successful transactions: 183560
Failed transactions: 0
Longest transaction: 0.06
Shortest transaction: 0.00
Go v1.13.3
Transactions: 491169 hits
Availability: 100.00 %
Elapsed time: 119.28 secs
Data transferred: 6.45 MB
Response time: 0.00 secs
Transaction rate: 4117.78 trans/sec <--
Throughput: 0.05 MB/sec
Concurrency: 14.92
Successful transactions: 491169
Failed transactions: 0
Longest transaction: 0.06
Shortest transaction: 0.00
Takeaway
Go is 2.69x as fast as Node.js for this particular benchmark.