Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
lodash.differenceBy vs native
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Browser:
Chrome 123
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
native
2587698.5 Ops/sec
lodash
2328940.8 Ops/sec
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.8.0/lodash.min.js'></script>
Script Preparation code:
var visibleReports = [{ category: 'front', reportName: 'FxSwapReval', reportLabel: 'FxSwap Revaluation', configName: 'FX_SWAPREVAL', user: null, realtime: false, executions: [{ description: '2018-05-10:EUR', executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-standard', tables: ['test1', 'test2'], }, }, message: null, }, { description: '2018-05-18:EUR', executionDateTime: '2022-01-01T00:00:01', storage: { type: 'PEGASUS', details: { namespace: 'kondor-standard', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'CashFlowExtendedReport', reportLabel: 'Cash Flow Extended', configName: 'AM_CFE_1', user: null, realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'CashFlowExtendedReport2', reportLabel: 'Cash Flow Extended', configName: 'AM_CFE_1', user: 'kplus', realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'FinReportML', reportLabel: 'RTK Financial', configName: 'AM_RTK_1', user: 'kplus', realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'HISTO-Historical|AM_FIN', reportLabel: 'HISTO-Historical|AM_FIN', configName: '04-01-2018', user: 'kplus', realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'RisKatcher', reportLabel: 'RisKatcher', configName: 'AM_RK_1', user: 'kplus', realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'SCRIPT', reportLabel: 'SCRIPT', configName: 'MB_SoS_Fin_CF_1', user: 'kplus', realtime: false, executions: [{ description: '2018-05-10:EUR', executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'Standard Report 1', reportLabel: 'TO_BONDS', configName: 'AM_CFE_1', user: null, realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-standard', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'Standard Report 2', reportLabel: 'TO_PAIRS', configName: 'AM_CFE_2', user: null, realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-standard', tables: ['test1'], }, }, message: null, }, ], }, ]; var filteredReportsByName = [{ category: 'front', reportName: 'FxSwapReval', reportLabel: 'FxSwap Revaluation', configName: 'FX_SWAPREVAL', user: null, realtime: false, executions: [{ description: '2018-05-10:EUR', executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-standard', tables: ['test1', 'test2'], }, }, message: null, }, { description: '2018-05-18:EUR', executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-standard', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'CashFlowExtendedReport', reportLabel: 'Cash Flow Extended', configName: 'AM_CFE_1', user: null, realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'SCRIPT', reportLabel: 'SCRIPT', configName: 'MB_SoS_Fin_CF_1', user: 'kplus', realtime: false, executions: [{ description: '2018-05-10:EUR', executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-kplus', tables: ['test1'], }, }, message: null, }, ], }, { category: 'front', reportName: 'Standard Report 1', reportLabel: 'TO_BONDS', configName: 'AM_CFE_1', user: null, realtime: false, executions: [{ description: null, executionDateTime: '2022-01-01T00:00:01', storage: { details: { namespace: 'kondor-standard', tables: ['test1'], }, }, message: null, }, ], } ];
Tests:
native
return [...new Map([...visibleReports, ...filteredReportsByName].map(report => [report.reportName, report])).values()]
lodash
return _.differenceBy(visibleReports, filteredReportsByName, 'reportName');