https://github.com/xanthous-tech/dgraph-js-native-benchmarks
Benchmarks between dgraph-js and dgraph-js-native
https://github.com/xanthous-tech/dgraph-js-native-benchmarks
Last synced: over 1 year ago
JSON representation
Benchmarks between dgraph-js and dgraph-js-native
- Host: GitHub
- URL: https://github.com/xanthous-tech/dgraph-js-native-benchmarks
- Owner: xanthous-tech
- Created: 2020-05-13T13:23:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T17:06:38.000Z (about 4 years ago)
- Last Synced: 2025-01-03T23:16:41.549Z (over 1 year ago)
- Language: JavaScript
- Size: 80.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dgraph-js-native vs dgraph-js Benchmarks
Legend: `DNF` = Did not Finish
## Mutation / Transaction Benchmark
Test is done by generating nodes with `predsSize` predicates, and pushing in a mutation `nodesPerBatch` nodes at a time, for `batches` times before committing the transaction.
### dgraph-js-native
|batches|nodesPerBatch|predsSize|timeSpent|
|-------|-------------|---------|---------|
|10 |10 |1 |88 |
|10 |10 |10 |189 |
|10 |10 |100 |884 |
|10 |100 |1 |235 |
|10 |100 |10 |590 |
|10 |100 |100 |4507 |
|10 |1000 |1 |1291 |
|10 |1000 |10 |4793 |
|10 |1000 |100 |48270 |
|100 |10 |1 |978 |
|100 |10 |10 |2408 |
|100 |10 |100 |15955 |
|100 |100 |1 |4982 |
|100 |100 |10 |16993 |
|100 |100 |100 |168108 |
|100 |1000 |1 |58212 |
|100 |1000 |10 |208994 |
|100 |1000 |100 |DNF |
### dgraph-js
|batches|nodesPerBatch|predsSize|timeSpent|
|-------|-------------|---------|---------|
|10 |10 |1 |139 |
|10 |10 |10 |234 |
|10 |10 |100 |1055 |
|10 |100 |1 |275 |
|10 |100 |10 |728 |
|10 |100 |100 |6105 |
|10 |1000 |1 |1614 |
|10 |1000 |10 |6666 |
|10 |1000 |100 |DNF |
|100 |10 |1 |1392 |
|100 |10 |10 |4093 |
|100 |10 |100 |33062 |
|100 |100 |1 |8108 |
|100 |100 |10 |33128 |
|100 |100 |100 |DNF |
|100 |1000 |1 |DNF |
|100 |1000 |10 |DNF |
|100 |1000 |100 |DNF |