diff --git a/bench/platform/structured-clone.bare+node+bun.js b/bench/platform/structured-clone.bare+node+bun.js new file mode 100644 index 00000000..a887592c --- /dev/null +++ b/bench/platform/structured-clone.bare+node+bun.js @@ -0,0 +1,17 @@ +/* global bench */ + +require('../harness') + +const object = { + string: 'hello world', + number: 42, + boolean: true, + array: ['element'], + object: { + key: 'value' + } +} + +bench('structuredClone()', () => { + structuredClone(object) +})