Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85
Mac OS X 10.15.4
Desktop
4 years ago
Test name Executions per second
Euclidian A 797859.7 Ops/sec
Euclidian B 1161065.6 Ops/sec
Manhattan A 653394.6 Ops/sec
Manhattan B 365549.9 Ops/sec
Custom A 318766.8 Ops/sec
Script Preparation code:
Tests:
  • Euclidian A

  • Euclidian B

  • Manhattan A

  • Manhattan B

  • Custom A