This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Description
See #25 for similar runs/data on windows
Steps followed:
- Clone node and leveldown from https://github.com/ianwjhalliday/
- npm install in leveldown
- Checkout api-opaque-prototype on node
- Build node x64 release
- For Master and api-opaque-prototype branches:
- Checkout branch to be tested
- Build leveldown x64 release
- npm run rebuild --nodedir=/home/mhdawson/api-perf/node
- Ensure debug builds do not exist
- Run leveldown benchmarks including required cleanup (3 times)
- rm -rf *.db
- time node bench/db-bench.js
- time node bench/write-random.js
- time node bench/write-sorted.js
- Time running the test suite
- time node node_modules/tape/bin/tape test/*-test.js
Summary:
The differences in the benchmarks are quite small, and we probably need to do more to reduce variation on the machine and do more runs to consider the deltas valid.
Don't have times for running the tests as there is a failure in the ABI mode.
| Perf Test |
leveldown-v8 |
leveldown-napi |
Delta |
| db-bench.js |
72.67 sec |
75 sec |
+3.21 % |
| write-random.js |
193 sec |
195.7 sec |
+1.4% |
| write-sorted.js |
119.3 sec |
117.67 sec |
-1.37% |
| tests |
- |
- |
-% |