10 lines
311 B
JavaScript
10 lines
311 B
JavaScript
|
import original from "updeep";
|
||
|
import contender from "./index.js";
|
||
|
import { bench } from "vitest";
|
||
|
bench("original, simple update", () => {
|
||
|
original({ a: 1 })({ a: 2, b: 3 });
|
||
|
});
|
||
|
bench("contender, simple update", () => {
|
||
|
contender({ a: 1 })({ a: 2, b: 3 });
|
||
|
});
|
||
|
//# sourceMappingURL=updeep.bench.js.map
|