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
func
152.1M/s
class 2
151.4M/s
class 1
149.1M/s
View exact numbers
Test name
Executions per second
✓
func
152,148,960 Ops/sec
class 2
151,379,168 Ops/sec
class 1
149,114,368 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)