Skip to content

Commit d0cf734

Browse files
author
buck heroux
committed
benchmark command
1 parent 30ce28e commit d0cf734

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ fmt.Println("DENVER Tile: ", idx.Values(den)) //contains no values!
4545
Here are some microbenchmarks for converting a location at zoom level 18.
4646
There's nothing really to compare them to, but should give a sense of op time on a 2.3 GHz core i7 MBP.
4747
```
48+
$ go test -bench=. -benchmem -benchtime 10s
4849
BenchmarkTileFromCoordinate-8 100000000 165 ns/op 0 B/op 0 allocs/op
4950
BenchmarkTileFromQuadkey-8 300000000 43.7 ns/op 0 B/op 0 allocs/op
5051
BenchmarkQuadkeyFromTile-8 200000000 95.4 ns/op 32 B/op 1 allocs/op

0 commit comments

Comments
 (0)