-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 now outperforms JSON on size *and* speed!
rewrote stringifier to keep intermediate results in array and replaced join('~') with smart join performance.html:15 JSON: 200000 parsed in 731ms, 0.003655ms/item performance.html:23 JSON: 200000 stringified in 448ms, 0.00224ms/item performance.html:32 v1: 200000 parsed in 1337ms, 0.006685ms/item performance.html:40 v1: 200000 stringified in 934ms, 0.00467ms/item performance.html:49 v2: 200000 parsed in 601ms, 0.003005ms/item performance.html:57 v2: 200000 stringified in 403ms, 0.002015ms/item
- Loading branch information
Showing
1 changed file
with
48 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters