Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
field vs property2344
field vs property
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Browser:
Chrome 117
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
2 years ago
Benchmark engine:
Benchmark.js
lodash
1010.9M/s
native
1010.1M/s
View exact numbers
Test name
Executions per second
✓
lodash
1,010,928,640 Ops/sec
native
1,010,090,880 Ops/sec
Script Preparation code:
class MyClass { constructor() { this.field = 1; } set field_value(val) { this.field = val; } get field_value() { return this.field; } } var theInstance = new MyClass();
Tests:
lodash
;
native
;