Test name | Executions per second |
---|---|
Haversine Classic | 10508925.0 Ops/sec |
Haversine Optimized | 13968326.0 Ops/sec |
Haversine Mine ATan | 12354880.0 Ops/sec |
Haversine Mine ASin | 14876233.0 Ops/sec |
Spherical Law of Cosines | 13451943.0 Ops/sec |
Equirectangular (a little less accurate) | 683722048.0 Ops/sec |