es-toolkit/benchmarks/performance/negate.bench.ts
Dayong Lee 8ffb6d1710
style(lint): fix ignores option (#424)
* Change ignore option

* Fix lint error

* Remove unusable
2024-08-28 23:20:13 +09:00

14 lines
312 B
TypeScript

import { bench, describe } from 'vitest';
import { negate as negateToolkit } from 'es-toolkit';
import { negate as negateLodash } from 'lodash';
describe('compact', () => {
bench('es-toolkit', () => {
negateToolkit(() => true)();
});
bench('lodash', () => {
negateLodash(() => true)();
});
});