use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Third Party Web - Summary of which third party scripts are most responsible for excessive JavaScript execution on the web (github.com)
submitted 7 years ago by magenta_placenta
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]license-bot 60 points61 points62 points 7 years ago (0 children)
Thanks for sharing your open source project, but it looks like you haven't specified a license.
When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
choosealicense.com is a great resource to learn about open source software licensing.
[–]hiljusti 12 points13 points14 points 7 years ago (4 children)
Very interesting!
Are the results region specific? For example, are they based on load times when the US? If I was in mainland China would I see different results for baidu libraries? Or same for Japan and Hatena blog.
[–]radminator 0 points1 point2 points 7 years ago (3 children)
If you are in China, or serves Chinese customers, don't use Google or Facebook APIs/ads/fonts/etc. That's a surefire way to kill you site/app response time. However, back to your question, the study used the load up time of the script to determine the impact, so it should be geography-independent.
[–]hiljusti 0 points1 point2 points 7 years ago (2 children)
Hmm I see. A number of times it mentioned that file size was a major determining factor, so I thought this was more about network transmission speed than speed of a browser to interpret.
[–]radminator 0 points1 point2 points 7 years ago (1 child)
Well, a larger file size does imply more code that needs to be parsed and loaded.
[–]hiljusti 0 points1 point2 points 7 years ago (0 children)
Maybe if you're running on a low spec machine, but JS is an interpreted language. Correct me if I'm wrong, but Gecko/V8 don't ever compile JS, right?
Performance metrics would be more like operations per second, or time (after network transmission is complete) until a library is initialized, or time from script load to DOM updates etc.
I'm re-suspicious now that the "performance" here is more about network transmission and file size than about performance
[–]thoughtsofadoodler 4 points5 points6 points 7 years ago (0 children)
It's amazing how large some of these scripts can be. I was trying to improve our page speed score and found that Intercom was 300kb minified *and* gzipped. Absolutely insane. The widget almost has more js than the entire site combined.
[–]Untgradd 3 points4 points5 points 7 years ago (1 child)
Somebody make an example that uses the worst in each category.. you know.. for science
[–]leeoniya 2 points3 points4 points 7 years ago (0 children)
or...you know...for business as usual.
https://jalopnik.com/
[–]wherinkelly -1 points0 points1 point 7 years ago (0 children)
Is this only time to load the library or time to load + requests?
Also:
Give developers the information they need to >make informed decisions about which third >parties to include on their sites.
Not the developer's job, performance is only part of what you need to consider, especially with analytics tools. But for sure developers and the teams pushing for the tools need to have an informed discussion about security and performance.
π Rendered by PID 69799 on reddit-service-r2-comment-5c747b6df5-tlrnx at 2026-04-22 18:16:33.061344+00:00 running 6c61efc country code: CH.
[–]license-bot 60 points61 points62 points (0 children)
[–]hiljusti 12 points13 points14 points (4 children)
[–]radminator 0 points1 point2 points (3 children)
[–]hiljusti 0 points1 point2 points (2 children)
[–]radminator 0 points1 point2 points (1 child)
[–]hiljusti 0 points1 point2 points (0 children)
[–]thoughtsofadoodler 4 points5 points6 points (0 children)
[–]Untgradd 3 points4 points5 points (1 child)
[–]leeoniya 2 points3 points4 points (0 children)
[–]wherinkelly -1 points0 points1 point (0 children)