Script Preparation code:
Tests:

Historical Performance Data aggregated from 22 community runs

Desktop Results:
Chrome 22 runs
func2
65/s
func1
34/s

Fastest: func2 (1.9x faster)

View exact numbers
  • func2: 65 ops/sec
  • func1: 34 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
    func2
    func1

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121 on Windows
View result in a separate tab
func2
65/s
func1
34/s
View exact numbers
Test name Executions per second
func2 65 Ops/sec
func1 34 Ops/sec