Earlier this week, jsdom reported an unexpected performance issue in @v8js: https://github.com/jsdom/jsdom/pull/2419#issuecomment-443551582 … It turns out the slow case in jsdom was calling String#substring(start, end) where start === end, resulting in the empty string.
-
Show this thread
Today, @jarinsev landed a patch that optimizes this specific case in V8: https://chromium-review.googlesource.com/c/v8/v8/+/1365282 …
Bottom line: if you run into any JavaScript performance issues in your real-world code, please let us know! It’s our job to fix it.
7:27 AM - 6 Dec 2018
0 replies
2 retweets
16 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.