A set of benchmark comparing dart/node performance
##Prerequisits
- dart installed
- node/npm installed
- ab (sudo apt install apache2-utils)
##Installation
npm install
pub get
dart bin/server.dart&
node bin/server.js&
#node
ab -n 10000 -c 100 http://localhost:1234/<benchmark name>
#dart
ab -n 10000 -c 100 http://localhost:8080/<benchmark name>
A small existing document is retrieved from a mongo collection and send.
A bigger existing document is retrieved from a mongo collection and send.
- Add benchmarks
- Automate benchmarks run
- Collect and produce reports, comparison charts.