cbor-x icon indicating copy to clipboard operation
cbor-x copied to clipboard

bench test NodeJS own `v8.serializer`

Open jimmywarting opened this issue 2 years ago • 0 comments

NodeJS have a built in v8.serialize(value) that do also support circular refs and many structure and it's basically also what globalThis.structuredClone uses (i guess). good for nodejs <-> nodejs data cloning but not so good for browsers (as there isn't any client side decoder/encoder)

could you bench test how fast this compares to v8 serialize & deserialize?

and also compare compression differences

jimmywarting avatar Sep 18 '22 02:09 jimmywarting