repositories
/
benchmarks-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
896570f
)
fixlet to deep merge benchmark
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 28 Jul 2023 14:32:04 +0000
(16:32 +0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/deep-merge-object.mjs
b/deep-merge-object.mjs
index 036f4f0f9c1e1dfc99ff132500e16241ce68c945..cce9345231259cf281c95c35d718178c59436048 100644
(file)
--- a/
deep-merge-object.mjs
+++ b/
deep-merge-object.mjs
@@
-18,7
+18,7
@@
Benchmark.suite(
Benchmark.add('just-merge', (obj = object) => {
const objMerged = merge(obj, objectToMerge)
}),
- Benchmark.add('deep
-clon
e', (obj = object) => {
+ Benchmark.add('deep
merg
e', (obj = object) => {
const objMerged = deepMerge(obj, objectToMerge)
}),
Benchmark.cycle(),