fixlet to deep merge benchmark
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 28 Jul 2023 14:32:04 +0000 (16:32 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 28 Jul 2023 14:32:04 +0000 (16:32 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
deep-merge-object.mjs

index 036f4f0f9c1e1dfc99ff132500e16241ce68c945..cce9345231259cf281c95c35d718178c59436048 100644 (file)
@@ -18,7 +18,7 @@ Benchmark.suite(
   Benchmark.add('just-merge', (obj = object) => {
     const objMerged = merge(obj, objectToMerge)
   }),
-  Benchmark.add('deep-clone', (obj = object) => {
+  Benchmark.add('deepmerge', (obj = object) => {
     const objMerged = deepMerge(obj, objectToMerge)
   }),
   Benchmark.cycle(),