coerce vs serialize in haskell

Benchmark created by L8D on


Setup

var x = 'foo';

Test runner

Ready to run.

Testing in
TestOps/sec
Coerce
var y = x;
ready
Serialize
var y = JSON.stringify(x);
ready

Revisions

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