repositories
/
benchmarks-js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[benchmarks-js.git]
/
shallow-clone-object.mjs
diff --git
a/shallow-clone-object.mjs
b/shallow-clone-object.mjs
index 830a3862f3c1e3712cf9ed56a2a296dab49a963e..466135e4469deebdbd92f97f524328445b156d01 100644
(file)
--- a/
shallow-clone-object.mjs
+++ b/
shallow-clone-object.mjs
@@
-1,6
+1,7
@@
/* eslint-disable no-unused-vars */
import Benchmark from 'benny'
import _ from 'lodash'
/* eslint-disable no-unused-vars */
import Benchmark from 'benny'
import _ from 'lodash'
+
import { generateRandomObject } from './benchmark-utils.mjs'
const object = generateRandomObject()
import { generateRandomObject } from './benchmark-utils.mjs'
const object = generateRandomObject()
@@
-33,6
+34,4
@@
Benchmark.suite(
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
+).catch(console.error)