Script Preparation code:
Tests:

Historical Performance Data aggregated from 15 community runs

Desktop Results:
Chrome 9 runs
math
116.4M/s
path2d
7.0M/s

Fastest: math (16.6x faster)

View exact numbers
  • math: 116,449,392 ops/sec
  • path2d: 6,998,682 ops/sec
Firefox 6 runs
math
306.9M/s
path2d
8.9M/s

Fastest: math (34.5x faster)

View exact numbers
  • math: 306,899,424 ops/sec
  • path2d: 8,889,057 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    path2d
    math

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0
Firefox 139 on Linux
View result in a separate tab
math
144.6M/s
path2d
10.7M/s
View exact numbers
Test name Executions per second
math 144,630,512 Ops/sec
path2d 10,664,353 Ops/sec