Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
test users
(version: 0)
Test on isEqual performancesdds
Comparing performance of:
_.isEqual Level 1a vs _.isEqual Level 2a
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
window.a = [ { accountStatus: 'active', mfaStatus: 'notRequired', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2020-07-14T10:45:33', defaultMultiFactorType: null, lastPassUserId: 343698, canSuperAdminChangeMasterPassword: false, id: '42925', email: '01Dtest@test.com', firstName: '01', lastName: 'Dtest' }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1197848, canSuperAdminChangeMasterPassword: false, id: '122540', email: '01kovrob@test.com', firstName: '', lastName: '' }, { accountStatus: 'active', mfaStatus: 'notRequired', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2020-07-14T10:44:07', defaultMultiFactorType: null, lastPassUserId: 345768, canSuperAdminChangeMasterPassword: false, id: '43132', email: '03dtest@test.com', firstName: '03', lastName: 'Dtest' }, { accountStatus: 'active', mfaStatus: 'notRequired', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2020-09-24T13:46:23', defaultMultiFactorType: null, lastPassUserId: 1057338, canSuperAdminChangeMasterPassword: true, id: '109243', email: '04dtest@test.com', firstName: '04', lastName: 'Dtest' }, { accountStatus: 'invited', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1221158, canSuperAdminChangeMasterPassword: false, id: '125207', email: '05dtest@test.com', firstName: '05', lastName: 'Dtest' }, { accountStatus: 'invited', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1221178, canSuperAdminChangeMasterPassword: false, id: '125209', email: '06dtest@test.com', firstName: '06', lastName: 'Dtest' }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1221188, canSuperAdminChangeMasterPassword: false, id: '125210', email: '07dtest@test.com', firstName: '07', lastName: 'Dtest' }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1221198, canSuperAdminChangeMasterPassword: false, id: '125211', email: '08dtest@test.com', firstName: '08', lastName: 'Dtest' }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1203728, canSuperAdminChangeMasterPassword: false, id: '123096', email: '10kovrob@email.com', firstName: '', lastName: '' }, { accountStatus: 'invited', mfaStatus: 'notRequired', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 524518, canSuperAdminChangeMasterPassword: false, id: '60718', email: 'acme+tom1@gmail.com', firstName: '', lastName: '' }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: null, canSuperAdminChangeMasterPassword: false, id: '60637', email: 'acme+tom@gmail.com', firstName: null, lastName: null }, { accountStatus: 'active', mfaStatus: 'invited', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: '2020-10-20T13:19:21Z', lastMasterPasswordChangeTimeUtc: '2020-08-12T11:06:41', defaultMultiFactorType: 'no_multifactor', lastPassUserId: 199018, canSuperAdminChangeMasterPassword: false, id: '16355', email: 'adam.kis@test.com', firstName: 'Adam', lastName: 'Test' }, { accountStatus: 'active', mfaStatus: 'notRequired', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2020-09-29T14:06:40', defaultMultiFactorType: null, lastPassUserId: 1172818, canSuperAdminChangeMasterPassword: true, id: '120127', email: 'adminnew@test.com', firstName: 'New', lastName: 'Admin' }, { accountStatus: 'active', mfaStatus: 'invited', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2019-12-04T10:22:30', defaultMultiFactorType: 'no_multifactor', lastPassUserId: 162008, canSuperAdminChangeMasterPassword: false, id: '15464', email: 'anastasia.shaposhnyk+dev2@logmein.com', firstName: 'dgsdgsdg', lastName: 'sfhdsfhdfh' }, { accountStatus: 'active', mfaStatus: 'active', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2019-08-27T14:52:26', defaultMultiFactorType: 'no_multifactor', lastPassUserId: 110798, canSuperAdminChangeMasterPassword: false, id: '10465', email: 'anastasia.shaposhnyk+dev@logmein.com', firstName: 'Anastasia', lastName: 'Shaposhnyk' }, { accountStatus: 'active', mfaStatus: 'invited', adminLevel: { id: '2', name: 'SuperAdmin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2020-06-03T11:38:05', defaultMultiFactorType: 'no_multifactor', lastPassUserId: 226958, canSuperAdminChangeMasterPassword: false, id: '19033', email: 'anastasia.shaposhnyk@test.com', firstName: 'Anastasia', lastName: 'Shaposhnyk' }, { accountStatus: 'active', mfaStatus: 'active', adminLevel: { id: '1', name: 'Admin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2020-03-25T10:58:06', defaultMultiFactorType: 'no_multifactor', lastPassUserId: 206258, canSuperAdminChangeMasterPassword: false, id: '17053', email: 'andras.nemeth4+dev@logmein.com', firstName: '', lastName: '' }, { accountStatus: 'active', mfaStatus: 'active', adminLevel: { id: '1', name: 'Admin', isCustom: false }, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: '2019-10-18T12:57:21', defaultMultiFactorType: 'no_multifactor', lastPassUserId: 145358, canSuperAdminChangeMasterPassword: false, id: '13860', email: 'andrew+dev@logmein.com', firstName: 'Andrew2', lastName: 'Tomenko' }, { accountStatus: 'invited', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 1020318, canSuperAdminChangeMasterPassword: false, id: '105746', email: 'anemeth42@test.com', firstName: 'scsdc', lastName: 'sdcsdcds' }, { accountStatus: 'invited', mfaStatus: 'active', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 531108, canSuperAdminChangeMasterPassword: false, id: '61411', email: 'anemeth4@test.com', firstName: 'Andras', lastName: 'Nemeth' }, { accountStatus: 'invited', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 667008, canSuperAdminChangeMasterPassword: false, id: '73939', email: 'asddf@test.com', firstName: 'ads', lastName: 'asd' }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 695488, canSuperAdminChangeMasterPassword: false, id: '76647', email: 'asd_001@test.com', firstName: null, lastName: null }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 695508, canSuperAdminChangeMasterPassword: false, id: '76649', email: 'asd_003@test.com', firstName: null, lastName: null }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 695528, canSuperAdminChangeMasterPassword: false, id: '76651', email: 'asd_005@test.com', firstName: null, lastName: null }, { accountStatus: 'staged', mfaStatus: 'notRequired', adminLevel: null, lastLoginTimeUtc: null, lastMasterPasswordChangeTimeUtc: null, defaultMultiFactorType: null, lastPassUserId: 695538, canSuperAdminChangeMasterPassword: false, id: '76652', email: 'asd_006@test.com', firstName: null, lastName: null } ] window.b = window.a[20]
Tests:
_.isEqual Level 1a
window.a.includes(window.b)
_.isEqual Level 2a
window.a.find(el => _.isEqual(el, window.b)) > 0
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
_.isEqual Level 1a
_.isEqual Level 2a
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!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
It looks like you've provided a comprehensive test case report with some extra information, but I'll focus on extracting the relevant details. **Original Input** ``` { ... } ``` **Individual Test Cases** ``` [ { "Benchmark Definition": "window.a.includes(window.b)", "Test Name": "_.isEqual Level 1a" }, { "Benchmark Definition": "window.a.find(el => _.isEqual(el, window.b)) > 0", "Test Name": "_.isEqual Level 2a" } ] ``` **Latest Benchmark Result** ``` [ { "RawUAString": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36", "Browser": "Chrome 86", "DevicePlatform": "Desktop", "OperatingSystem": "Mac OS X 10.15.7", "ExecutionsPerSecond": 2749155.25, "TestName": "_.isEqual Level 1a" }, { "RawUAString": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36", "Browser": "Chrome 86", "DevicePlatform": "Desktop", "OperatingSystem": "Mac OS X 10.15.7", "ExecutionsPerSecond": 36298.2578125, "TestName": "_.isEqual Level 2a" } ] ``` To answer the question, I'll assume you're asking about the latest benchmark result. Based on the provided output, it appears that both test cases (`_.isEqual Level 1a` and `_.isEqual Level 2a`) have been executed by a Chrome browser with version 86.0.4240.111 on a Mac OS X 10.15.7 system. The first test case had an execution rate of approximately 2749 executions per second, while the second test case had an execution rate of around 36298.26 executions per second. Without further context or specific performance metrics to compare against, it's challenging to provide a more detailed analysis. However, if you'd like to discuss the implications of these results or explore potential improvements, I'm here to help!
Related benchmarks:
findindex vs some 2
destructuring X undefined X null X delete X new ref X reflect x reflect spread
Compare String.match and RegEx.test
requests2
Comments
Confirm delete:
Do you really want to delete benchmark?