Script Preparation code:
Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Firefox 9 runs
class
281K/s
object with extern method
278K/s
object
273K/s
function
56K/s

Fastest: class (5.0x faster)

View exact numbers
  • class: 280,672 ops/sec
  • object with extern method: 277,908 ops/sec
  • object: 273,348 ops/sec
  • function: 56,256 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
    function
    object
    object with extern method
    class

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
object
9K/s
object with extern method
9K/s
class
9K/s
function
8K/s
View exact numbers
Test name Executions per second
object 9,477 Ops/sec
object with extern method 9,406 Ops/sec
class 8,613 Ops/sec
function 8,246 Ops/sec