mirror of
https://github.com/toss/es-toolkit.git
synced 2024-12-01 02:33:54 +03:00
8600129813
* Fix lint error * Style format * Add class, map, set
16 lines
462 B
TypeScript
16 lines
462 B
TypeScript
import { bench, describe } from 'vitest';
|
|
import { ary as aryToolkit } from 'es-toolkit';
|
|
import { ary as aryLodash } from 'lodash';
|
|
|
|
describe('ary', () => {
|
|
bench('es-toolkit/ary', () => {
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
aryToolkit((_a, _b, _c) => undefined, 2);
|
|
});
|
|
|
|
bench('lodash/ary', () => {
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
aryLodash((_a, _b, _c) => undefined, 2);
|
|
});
|
|
});
|