Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Oct 7, 2023
1 parent 78c2ee4 commit ef8fad3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions benchmark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@ function test(fn, label = fn.toString()) {
}

// serialization
test(() => superjson.stringify(obj));
test(() => tson.stringify(obj));
test(() => uneval(obj));
test(() => stringify(obj));
test(() => ARSON.stringify(obj));
// test(() => superjson.stringify(obj));
// test(() => tson.stringify(obj));
// test(() => uneval(obj));
// test(() => stringify(obj));
// test(() => ARSON.stringify(obj));

// deserialization
test(() => superjson.parse(superjson_serialized));
// // deserialization
// test(() => superjson.parse(superjson_serialized));
test(() => tson.parse(tson_serialized));
test(() => eval(`(${devalue_unevaled})`));
test(() => ARSON.parse(arson_stringified));
test(() => parse(devalue_stringified));
// test(() => eval(`(${devalue_unevaled})`));
// test(() => ARSON.parse(arson_stringified));
// test(() => parse(devalue_stringified));

console.log();

0 comments on commit ef8fad3

Please sign in to comment.