es-toolkit/benchmarks/performance/ary.bench.ts
Dayong Lee 8600129813
style: Fix all lint errors (#351)
* Fix lint error

* Style format

* Add class, map, set
2024-08-07 18:50:42 +09:00

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);
});
});