tree: b340e48201a7bc2f4b7fa5c5c099ed9d8387fd68 [path history] [tgz]
  1. main.go

Tile38 Benchmark

The benchmark consists of stress-testing the Tile38 server with three different kinds of commands:

  • WITHIN -- Each request looks for points or regions in the database which lie wholly within 100km of a given input point.
  • INTERSECTS -- Same as WITHIN, but bounds may simply overlap with the search space, rather than be wholly enclosed by it.
  • NEARBY -- Each request looks for the 100-nearest-neighbors to a given input point.

Each command is run for the amount of time specified in the CLI (default 20 seconds).

Much of the idea for the benchmarks is derived from the tile38-benchmark program built as part of building tile38 from the upstream repository.

This implementation is custom and not derived via source modification from the tile38-benchmark tool.