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

Commit

Permalink
fix: order of benchmakr results
Browse files Browse the repository at this point in the history
  • Loading branch information
Akxe committed Oct 27, 2023
1 parent 594843a commit 14115eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions benchmark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ console.table(testingMethods.map(method => {
return {
name: method.name,
"parse (ms)": method.results.parse,
"stringify (ms)": method.results.stringify,
// eslint-disable perfectionist/sort-objects
"size (bytes)": method.results.size,
"size gzipped (bytes)": method.results.sizeGZipped,
"stringify (ms)": method.results.stringify,
};
}));
}).sort((a, b) => a['parse (ms)'] - b['parse (ms)']));

0 comments on commit 14115eb

Please sign in to comment.