{"id":19168561,"url":"https://github.com/xanthous-tech/dgraph-js-native-benchmarks","last_synced_at":"2026-06-19T19:02:25.141Z","repository":{"id":42840804,"uuid":"263636536","full_name":"xanthous-tech/dgraph-js-native-benchmarks","owner":"xanthous-tech","description":"Benchmarks between dgraph-js and dgraph-js-native","archived":false,"fork":false,"pushed_at":"2022-03-26T17:06:38.000Z","size":82,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-03T23:16:41.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xanthous-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-13T13:23:30.000Z","updated_at":"2020-05-14T13:00:49.000Z","dependencies_parsed_at":"2022-09-15T02:11:27.319Z","dependency_job_id":null,"html_url":"https://github.com/xanthous-tech/dgraph-js-native-benchmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-js-native-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-js-native-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-js-native-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-js-native-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xanthous-tech","download_url":"https://codeload.github.com/xanthous-tech/dgraph-js-native-benchmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240249464,"owners_count":19771662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T09:43:06.904Z","updated_at":"2026-06-18T16:30:16.654Z","avatar_url":"https://github.com/xanthous-tech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dgraph-js-native vs dgraph-js Benchmarks\n\nLegend: `DNF` = Did not Finish\n\n## Mutation / Transaction Benchmark\n\nTest 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.\n\n### dgraph-js-native\n\n|batches|nodesPerBatch|predsSize|timeSpent|\n|-------|-------------|---------|---------|\n|10     |10           |1        |88       |\n|10     |10           |10       |189      |\n|10     |10           |100      |884      |\n|10     |100          |1        |235      |\n|10     |100          |10       |590      |\n|10     |100          |100      |4507     |\n|10     |1000         |1        |1291     |\n|10     |1000         |10       |4793     |\n|10     |1000         |100      |48270    |\n|100    |10           |1        |978      |\n|100    |10           |10       |2408     |\n|100    |10           |100      |15955    |\n|100    |100          |1        |4982     |\n|100    |100          |10       |16993    |\n|100    |100          |100      |168108   |\n|100    |1000         |1        |58212    |\n|100    |1000         |10       |208994   |\n|100    |1000         |100      |DNF      |\n\n### dgraph-js\n\n|batches|nodesPerBatch|predsSize|timeSpent|\n|-------|-------------|---------|---------|\n|10     |10           |1        |139      |\n|10     |10           |10       |234      |\n|10     |10           |100      |1055     |\n|10     |100          |1        |275      |\n|10     |100          |10       |728      |\n|10     |100          |100      |6105     |\n|10     |1000         |1        |1614     |\n|10     |1000         |10       |6666     |\n|10     |1000         |100      |DNF      |\n|100    |10           |1        |1392     |\n|100    |10           |10       |4093     |\n|100    |10           |100      |33062    |\n|100    |100          |1        |8108     |\n|100    |100          |10       |33128    |\n|100    |100          |100      |DNF      |\n|100    |1000         |1        |DNF      |\n|100    |1000         |10       |DNF      |\n|100    |1000         |100      |DNF      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthous-tech%2Fdgraph-js-native-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxanthous-tech%2Fdgraph-js-native-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthous-tech%2Fdgraph-js-native-benchmarks/lists"}