Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Delete vs set undefined for Object field
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:143.0) Gecko/20100101 Firefox/143.0
Browser:
Firefox 143
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
8 months ago
Test name
Executions per second
Delete
63654488.0 Ops/sec
Set undefined
1058150592.0 Ops/sec
Script Preparation code:
var obj = {a:1, b:2, c:3, d:4};
Tests:
Delete
delete obj.c;
Set undefined
obj.c = undefined;