geohash_nif v1.0.0 mix bench View Source
Bench Geohash NIF against Gehohash native Elixir implementation
Usage
mix bench <bench_name> [<bench_name> ...]
If <bench_name>
is omitted or one of them is all runs all the benchmarks.
<bench_name>
can be a single value or a list of values separated by spaces.
Invalid values are simply ignored.
Valid <bench_name>
values are
- encode
- decode
- bounds
- adjacent
- neighbors
- decode_to_bits
Examples
$ mix bench
- runs all the benchmarks$ mix bench all
- runs all the benchmarks$ mix bench encode
- runs theencode
benchmark$ mix bench encode decode
- runs theencode
anddecode
benchmarks$ mix bench xxx all yyy
- runs all benchmarks