Skip to content

sdd/kd-tree-comparison

Repository files navigation

kd-tree-comparison

This project benchmarks a few different k-d tree libraries in different scenarios. It measures construction time as well as query time, across a matrix of tree sizes, dimensionality, and underlying data type.

Comments and contributions are welcome.

Data Visualization

A companion webapp to this test suite exists where the results can be explored interactively, at https://sdd.github.io/kd-tree-comparison-webapp/.

The repository for the visualisation webapp is at https://github.com/sdd/kd-tree-comparison-webapp

Libraries tested

(full disclosure: I'm the author of Kiddo)

Running the benchmarks to generate NDJSON

cargo criterion --message-format json > all-benchmarks.ndjson

Converting the criterion NDJSON into a convenient JSON object

jq -s '.[] | select(.reason == "benchmark-complete") | with_entries(select([.key] | inside(["id", "mean"])))'  < all-benchmarks.ndjson | jq -s > all-benchmarks.json

Benchmark System Details

  • Processor: Ryzen 5900X (12/24 core)
  • Memory: 32Gb DDR4, 3600MHz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages