encode an object

Benchmark created on


Setup

const thing = {
  offset1: "123",
  offset2: "456"
}

Test runner

Ready to run.

Testing in
TestOps/sec
1
console.log(atob(thing))
ready
2
console.log(btoa(thing))
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.