Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Object vs Proxy vs Proxy setter
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 14; Mobile; rv:136.0) Gecko/136.0 Firefox/136.0
Browser:
Firefox Mobile 136
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Object
537.1M/s
Proxy setter
4.8M/s
Proxy
4.1M/s
View exact numbers
Test name
Executions per second
✓
Object
537,135,488 Ops/sec
Proxy setter
4,768,562 Ops/sec
Proxy
4,074,929 Ops/sec
Script Preparation code:
object = { test: 1 } proxy = new Proxy(object, {}) proxyWithHandler = new Proxy(object, { set(target, prop, value) { target[prop] = value } })
Tests:
Object
object.test = 1
Proxy
proxy.test = 1
Proxy setter
proxyWithHandler.test = 1