2 import { assoc } from 'rambda'
3 import { bench, group, run } from 'tatami-ng'
5 import { generateRandomObject } from './benchmark-utils.mjs'
7 const object = generateRandomObject()
9 group(`Shallow clone object with ${Object.keys(object).length} keys`, () => {
10 bench('Spread', () => {
13 bench('Object assign', () => {
14 return Object.assign({}, object)
16 bench('lodash clone', () => {
19 bench('rambda assoc', () => {