Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 984 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 984 Bytes

OSX/Linux Windows

Rust GEOJSON test

Read geojson and stuff.

Usage

kommuner --input ./kommuner.csv --geojson ./kommuner.geojson --output test.csv

Benches

Where lookup_all tests use 100 records at either the start or end of the geojson.

test bench_csv_read         ... bench:      39,266 ns/iter (+/- 867)
test bench_geojson_read     ... bench:     496,560 ns/iter (+/- 20,151)
test bench_lookup_all_first ... bench:     355,065 ns/iter (+/- 57,129)
test bench_lookup_all_last  ... bench: 175,942,486 ns/iter (+/- 8,378,414)
test bench_lookup_first     ... bench:       7,137 ns/iter (+/- 1,317)
test bench_lookup_last      ... bench:   4,530,849 ns/iter (+/- 377,375)