Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
asdasdasdasd
(version: 0)
asdasdasd
Comparing performance of:
Lodash vs Filter/Map
Created:
6 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.4/lodash.min.js"></script>
Script Preparation code:
var AssetCategory = { NONE: 'NONE', VESSEL: 'VESSEL' }
Tests:
Lodash
_(AssetCategory).omit([AssetCategory.NONE]).values().value()
Filter/Map
Object.keys(AssetCategory) .filter(x => x !== AssetCategory.NONE) .map(key => ({ label: key, value: key }));
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Lodash
Filter/Map
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
asdasdasdhgdth5454455454
Object keys as array - remove first
Test Performance lodash
get field from object v2
Comments
Confirm delete:
Do you really want to delete benchmark?