mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-28 20:26:33 +03:00
8ffb6d1710
* Change ignore option * Fix lint error * Remove unusable
14 lines
312 B
TypeScript
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)();
|
|
});
|
|
});
|