Performance boosts in @v8js v7.6 / Chrome 76:
JSON.parse
Frozen/sealed arrays
https://v8.dev/blog/v8-release-76 …
-
-
I have a JSON bottleneck so this should be interesting to test sometime
1 reply 0 retweets 3 likes -
Have a mostly done custom parser for a UInt8Array (saves on utf parsing prior to string parsing) but guuuuh
1 reply 0 retweets 1 like -
Replying to @bradleymeck @v8js
I’d love to hear more & see the benchmark + results!
1 reply 0 retweets 0 likes -
Well V8 snapshots might wreck the shape allocation, but we will see. 100,000 is a small array size for nodes (numbers) and strings in those. Definitely put care in your condition ordering in parsers. Doubt it will replace custom, but might be workable at least
1 reply 0 retweets 0 likes -
Also, managing stack depth preallocation is important to avoid memory management slowdown. I'm curious if the new parser uses linked list or preallocated growing array, lots to fiddle with
1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.