Improve benchmark UI Disable function and php tests (they are very slow)
MySQL Haversine Benchmark
-
Run setup
mysql your-database-name < setup.sql
This will (re)create:
- Four tables:
floats
,floats_indexed
,points
, andpoints_indexed
. - Nine procedures:
generate_coords
,float_coords_within_radius
,float_indexed_coords_within_radius
,hybrid_coords_within_radius
hybrid_coords_within_radius_point
,hybrid_indexed_coords_within_radius
,hybrid_indexed_coords_within_radius_point
,point_coords_within_radius
,point_indexed_coords_within_radius
- Two functions:
haversine
andhaversine_alt
.
And then will generate and insert 1,000,000 random coordinates into each of the four tables.
- Four tables:
-
Navigate to
index.php
in your browser and login.
Description
Languages
PHP
100%