Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Pojo vs functions
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Mobile/15E148 Safari/604.1
Browser:
Mobile Safari 18
Operating system:
iOS 18.6
Device Platform:
Mobile
Date tested:
9 months ago
Benchmark engine:
Benchmark.js
function
498.5M/s
pojo
190.7M/s
View exact numbers
Test name
Executions per second
✓
function
498,510,912 Ops/sec
pojo
190,658,032 Ops/sec
Tests:
pojo
var x = {a:0,b:1,c:{a:"aaa",b:123},d:[0,1,2,3,"4"]}
function
var y = () => { var x = {a:0,b:1,c:{a:"aaa",b:123},d:[0,1,2,3,"4"]} }