HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
set has
178.2M/s
in check
164.2M/s
regex
38.1M/s
hasOwnProperty
6.4M/s

Fastest: set has (27.9x faster)

View exact numbers
  • set has: 178,231,744 ops/sec
  • in check: 164,180,256 ops/sec
  • regex: 38,086,444 ops/sec
  • hasOwnProperty: 6,384,460 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
    set has
    regex
    in check
    hasOwnProperty

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144 on Windows
View result in a separate tab
in check
233.7M/s
set has
192.8M/s
regex
47.2M/s
hasOwnProperty
7.9M/s
View exact numbers
Test name Executions per second
in check 233,684,432 Ops/sec
set has 192,848,624 Ops/sec
regex 47,224,812 Ops/sec
hasOwnProperty 7,907,017 Ops/sec