mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-28 20:26:33 +03:00
8600129813
* Fix lint error * Style format * Add class, map, set
14 lines
435 B
TypeScript
14 lines
435 B
TypeScript
import { bench, describe } from 'vitest';
|
|
import { zipObjectDeep as zipObjectDeepToolkit } from 'es-toolkit/compat';
|
|
import { zipObjectDeep as zipObjectDeepLodash } from 'lodash';
|
|
|
|
describe('zipObjectDeep', () => {
|
|
bench('es-toolkit/zipObjectDeep', () => {
|
|
zipObjectDeepToolkit(['a.b[0].c', 'a.b[1].d'], [1, 2]);
|
|
});
|
|
|
|
bench('lodash/zipObjectDeep', () => {
|
|
zipObjectDeepLodash(['a.b[0].c', 'a.b[1].d'], [1, 2]);
|
|
});
|
|
});
|