Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
KaiOS this
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Browser:
Chrome 138
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
class 1
149114368.0 Ops/sec
class 2
151379168.0 Ops/sec
func
152148960.0 Ops/sec
Script Preparation code:
class A { constructor(x) { this.x = x; } getX() { return this.x } } class B extends A { getX() { return this.x } } var a = new A(1) var b = new B(1) var obj = { x: 1 } function getX(o) { return o.x }
Tests:
class 1
a.getX()
class 2
b.getX()
func
getX(obj)