Script Preparation code:
Tests:
  • [string, object] - instanceof

  • [string, object] - typeof

  • [url, object] - instanceof

  • [url, object] - typeof

  • [request] - instanceof

  • [request] - typeof

  • [string, request] - instanceof

  • [string, request] - typeof

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    [string, object] - instanceof
    [string, object] - typeof
    [url, object] - instanceof
    [url, object] - typeof
    [request] - instanceof
    [request] - typeof
    [string, request] - instanceof
    [string, request] - typeof

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107 on Linux
View result in a separate tab
Test name Executions per second
[string, object] - instanceof 2211667.0 Ops/sec
[string, object] - typeof 6610892.0 Ops/sec
[url, object] - instanceof 2279837.5 Ops/sec
[url, object] - typeof 6673912.0 Ops/sec
[request] - instanceof 47006.9 Ops/sec
[request] - typeof 22420.0 Ops/sec
[string, request] - instanceof 50283.2 Ops/sec
[string, request] - typeof 24058.5 Ops/sec