Tests:
  • Loop over characters, check if in input Set

  • Flip object keys

  • Compare two sets (generate letterSet)

  • Compare two sets (static letterSet)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Loop over characters, check if in input Set
    Flip object keys
    Compare two sets (generate letterSet)
    Compare two sets (static letterSet)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.57 Safari/537.36
Chrome 69 on Mac OS X 10.13.6
View result in a separate tab
Test name Executions per second
Loop over characters, check if in input Set 33194.7 Ops/sec
Flip object keys 24983.0 Ops/sec
Compare two sets (generate letterSet) 29336.3 Ops/sec
Compare two sets (static letterSet) 39467.3 Ops/sec


;