_ _ _ _ (_)___ __ _____ | |__ | |_ _ __ ___ | | | / __| \ \ / / __| | '_ \| __| '_ ` _ \| | | \__ \ \ V /\__ \ | | | | |_| | | | | | | _/ |___/ \_/ |___/ |_| |_|\__|_| |_| |_|_| |__/ # published: 15/10/21 (dd/mm/yy) # updated: not yet Hi. I ran js_ratio (https://gitlab.com/sodimel/js-ratio) on a list of domains (from a gist from 5 years ago), and I got a small list or 407 websites. > side note: js ratio is not a perfect tool, it tries to count inline js and external js, but it may miss some content. > another side note: js ratio uses requests, is not following 301 redirects or 302 moved, and return "-0.0" if there's an error. There have been 59 errors for this list of websites (from only 5 years ago), omg the web is refreshing itself so fast. Here's the sum of all ratio: 10476.480000000012 Divide it by 348 (407 websites tried, minus 59 erros): 30.10482758620693 TADAAH Today, there's ~30 times more js than html on homepages of websites (from a list of websites from 5 years ago). I don't really know what to think about that number, but I'm mostly sad that all we do is visit websites, make our computers go vrooom to execute all this code, and then just clic on another link. Like a big part of all this js must be pretty useless, since it's only located on the front page, and people _may_ not stay on the front page of a website for too much time. ---- Here's the list (ratio, domain): 0.0 https://google.com 224.7 https://youtube.com 20.09 https://facebook.com 2.56 https://baidu.com 2.85 https://yahoo.com 0.0 https://amazon.com -0.0 https://wikipedia.org 0.0 https://google.co.in 187.37 https://twitter.com 5.16 https://qq.com 4.4 https://live.com 73.8 https://taobao.com 0.0 https://bing.com 0.0 https://google.co.jp 2.82 https://msn.com 6.82 https://yahoo.co.jp 3.43 https://linkedin.com 1.28 https://sina.com.cn 337.62 https://instagram.com 54.29 https://weibo.com 217.98 https://vk.com 13.84 https://yandex.ru 0.0 https://google.de 0.0 https://google.ru -0.0 https://hao123.com 1.43 https://ebay.com 10.69 https://reddit.com 0.0 https://google.co.uk 0.0 https://google.com.br 0.12 https://mail.ru 0.0 https://t.co 319.32 https://pinterest.com 0.0 https://amazon.co.jp 0.0 https://google.fr 48.8 https://netflix.com 0.99 https://gmw.cn 451.26 https://tmall.com 2.37 https://360.cn 0.0 https://google.it 2.37 https://microsoft.com 0.0 https://onclickads.net 0.0 https://google.es 5.1 https://paypal.com 4.74 https://sohu.com 0.94 https://wordpress.com 41.97 https://tumblr.com -0.0 https://blogspot.com 325.73 https://imgur.com 2.82 https://xvideos.com 0.0 https://google.com.mx 9.35 https://naver.com 1.26 https://stackoverflow.com 22.12 https://apple.com 0.0 https://chinadaily.com.cn 4.2 https://fc2.com 37.23 https://aliexpress.com 5.4 https://imdb.com 0.0 https://google.ca 0.0 https://google.co.kr 4.15 https://github.com 0.74 https://ok.ru 0.65 https://pornhub.com 0.0 https://google.com.hk 5.17 https://whatsapp.com 0.92 https://diply.com 118.91 https://jd.com 0.0 https://amazon.de 0.0 https://google.com.tr 6.18 https://rakuten.co.jp 0.36 https://craigslist.org 5.83 https://office.com 0.0 https://google.co.id 13.95 https://kat.cr 0.0 https://amazon.in 26.48 https://tianya.cn -0.0 https://blogger.com 0.0 https://google.pl 14.77 https://nicovideo.jp 11.07 https://alibaba.com -0.0 https://soso.com 245.0 https://pixnet.net 0.0 https://google.com.au -0.0 https://go.com 0.0 https://amazon.co.uk 12.69 https://xhamster.com 2.74 https://dropbox.com 0.0 https://google.com.tw 4.06 https://outbrain.com -0.0 https://xinhuanet.com -0.0 https://cntv.cn -0.0 https://googleusercontent.com -0.0 https://cnn.com 4.86 https://ask.com 8.23 https://coccoc.com 7.21 https://booking.com 9.22 https://bbc.co.uk 9.84 https://popads.net -0.0 https://youth.cn 341.76 https://twitch.tv 0.58 https://wikia.com -0.0 https://microsoftonline.com 309.45 https://quora.com -0.0 https://chase.com 8.23 https://adobe.com -0.0 https://163.com 3.42 https://360.com 1.83 https://haosou.com 0.0 https://google.com.pk 0.0 https://google.co.th 0.0 https://google.com.eg 0.0 https://google.com.ar 26.07 https://youku.com 0.0 https://google.com.sa 0.8 https://bbc.com 14.48 https://flipkart.com -0.0 https://alipay.com 6.32 https://bongacams.com 33.03 https://adf.ly 9.2 https://nytimes.com 0.0 https://google.nl 42.17 https://sogou.com -0.0 https://livedoor.jp 4.34 https://daum.net 199.79 https://txxx.com 0.0 https://amazon.cn 0.0 https://espn.go.com 1.69 https://ebay.co.uk 9.96 https://ettoday.net 0.72 https://bankofamerica.com 4.83 https://china.com 0.0 https://indiatimes.com -0.0 https://myway.com 39.4 https://bilibili.com 0.0 https://walmart.com 1.31 https://ebay.de -0.0 https://china.com.cn -0.0 https://godaddy.com 4.48 https://dailymail.co.uk 1.09 https://buzzfeed.com 120.51 https://zillow.com 12.79 https://xnxx.com 3.99 https://salesforce.com 59.98 https://dailymotion.com 3.6 https://wellsfargo.com 13.42 https://detail.tmall.com 2.5 https://steampowered.com 66.09 https://steamcommunity.com 0.0 https://nametests.com 0.0 https://google.co.ve 0.0 https://theguardian.com 0.0 https://google.com.ua 1.97 https://indeed.com 5.22 https://ameblo.jp 4.15 https://aol.com 1.76 https://etsy.com 1.58 https://globo.com 0.0 https://google.co.za 14.34 https://yelp.com -0.0 https://amazonaws.com 3.94 https://huffingtonpost.com 32.41 https://tudou.com 1.83 https://so.com 137.85 https://zhihu.com 275.23 https://soundcloud.com 10.59 https://tripadvisor.com 0.0 https://google.gr 1.21 https://varzesh3.com 42.88 https://avito.ru -0.0 https://onlinesbi.com 12.39 https://vice.com 22.72 https://cnzz.com -0.0 https://directrev.com 3.05 https://uol.com.br 0.71 https://bet365.com 3.84 https://weather.com 29.88 https://mediafire.com 2.65 https://uptodown.com 0.3 https://cnet.com 11.09 https://washingtonpost.com 23.84 https://gfycat.com -0.0 https://goo.ne.jp 0.92 https://stackexchange.com 9.9 https://force.com 5.3 https://taboola.com 0.0 https://google.com.co 22.44 https://dmm.co.jp 5.88 https://tuberel.com 0.36 https://vimeo.com 0.0 https://google.com.ng -0.0 https://naver.jp 512.34 https://feedly.com -0.0 https://theladbible.com 134.97 https://pixiv.net 0.08 https://redtube.com 4.45 https://detik.com 0.0 https://homedepot.com 0.0 https://torrentz.eu 4.61 https://slideshare.net 0.0 https://google.ro 22.89 https://taringa.net 1.42 https://foxnews.com 17.19 https://target.com 0.0 https://amazon.it 0.0 https://google.com.pe 1.0 https://flickr.com 19.6 https://hclips.com 0.0 https://google.be 0.0 https://amazon.fr 100.9 https://9gag.com 11.53 https://kakaku.com 0.0 https://blogspot.in -0.0 https://ikea.com 85.31 https://mega.nz 6.14 https://ifeng.com 0.0 https://udn.com 8.44 https://web.de 2.55 https://americanexpress.com 1.13 https://iqiyi.com -0.0 https://bp.blogspot.com 20.09 https://fbcdn.net 0.0 https://google.com.ph -0.0 https://orange.fr -0.0 https://comcast.net 0.0 https://google.com.sg 7.15 https://terraclicks.com 5.25 https://youm7.com 0.25 https://putlocker.is 3.95 https://tribunnews.com 9.03 https://gmx.net 0.81 https://youporn.com 15.02 https://deviantart.com 7.06 https://nih.gov 0.59 https://zol.com.cn -0.0 https://ontests.me 121.17 https://roblox.com -0.0 https://doubleclick.net 0.0 https://hdfcbank.com -0.0 https://ozock.com 27.09 https://tistory.com 5.76 https://capitalone.com 9.68 https://leboncoin.fr 7.1 https://douyu.com 0.0 https://google.cn -0.0 https://51.la 0.0 https://google.se 54.21 https://spotify.com 0.31 https://wikihow.com 0.97 https://onet.pl 4.32 https://babytree.com 0.62 https://w3schools.com 178.36 https://upornia.com 1.44 https://snapdeal.com 3.81 https://forbes.com 0.0 https://google.at 2.99 https://wix.com 92.7 https://bestbuy.com 10.71 https://livejournal.com 1.24 https://mozilla.org 43.88 https://rdsa2013.com -0.0 https://xfinity.com -0.0 https://handycafe.com 0.87 https://groupon.com 0.0 https://adnetworkperformance.com 3.77 https://onedio.com -0.0 https://thepiratebay.org 17.04 https://skype.com 2.08 https://github.io 3.53 https://allegro.pl 0.0 https://google.dz 0.0 https://google.com.vn 9.32 https://paytm.com -0.0 https://twimg.com 0.0 https://wikimedia.org 8.47 https://icicibank.com 0.69 https://t-online.de 8.54 https://popcash.net 6.98 https://telegraph.co.uk 4.72 https://usps.com 15.77 https://slither.io 5.78 https://wp.pl -0.0 https://blog.jp 0.0 https://google.ch 1.04 https://webtretho.com 17.77 https://irctc.co.in 2.59 https://trello.com 0.0 https://google.pt 1.05 https://yesky.com -0.0 https://xywy.com 3.26 https://huanqiu.com 8.74 https://eksisozluk.com 0.0 https://blastingnews.com 0.0 https://citi.com 94.34 https://shutterstock.com 0.69 https://rediff.com 0.94 https://files.wordpress.com 4.42 https://ups.com 0.0 https://google.cl 0.31 https://bitauto.com 0.4 https://speedtest.net 0.0 https://pandora.com 5.77 https://adexc.net 20.93 https://imzog.com 0.0 https://google.ae 6.95 https://2ch.net 0.0 https://google.cz -0.0 https://loading-delivery2.com 0.0 https://seznam.cz -0.0 https://ltn.com.tw 4.08 https://about.com 25.14 https://slack.com 0.0 https://mercadolivre.com.br 0.0 https://google.co.il -0.0 https://doorblog.jp 97.37 https://goodreads.com 3.95 https://livejasmin.com 0.06 https://battle.net 2.1 https://softonic.com 0.0 https://accuweather.com 0.0 https://amazon.es 7.91 https://wordpress.org 43.28 https://mbc.net 1.62 https://slickdeals.net 128.67 https://icloud.com 0.0 https://google.hu 4.25 https://kaskus.co.id 2.94 https://wittyfeed.com 20.83 https://fedex.com 3.46 https://ndtv.com 15.02 https://att.com 10.03 https://mlb.com 5.93 https://kompas.com 0.0 https://google.ie 474.35 https://giphy.com 4.3 https://usatoday.com 0.69 https://xcar.com.cn 25.89 https://hulu.com 330.75 https://archive.org 3.84 https://sberbank.ru 0.0 https://media.tumblr.com 319.32 https://pinimg.com 12.61 https://messenger.com 2.62 https://sourceforge.net 2.98 https://hp.com 0.0 https://lowes.com 14.25 https://zendesk.com 2.36 https://viralthread.com 15.41 https://csdn.net -0.0 https://1905.com -0.0 https://mama.cn -0.0 https://youtube-mp3.org -0.0 https://39.net 1.95 https://digikala.com 24.34 https://badoo.com 0.18 https://businessinsider.com 0.0 https://kinogo.co 36.29 https://weebly.com -0.0 https://samsung.com 7.54 https://abs-cbn.com -0.0 https://reimageplus.com 23.62 https://airbnb.com 2.59 https://sabah.com.tr 2.07 https://wordreference.com -0.0 https://hurriyet.com.tr 0.29 https://uefa.com 31.43 https://rambler.ru -0.0 https://51yes.com 13.85 https://cnnic.cn 7.04 https://webmd.com 2.12 https://ign.com 1.86 https://liputan6.com 1.4 https://dell.com 6.74 https://gizmodo.com 0.0 https://blogspot.com.br 11.84 https://bloomberg.com -0.0 https://blkget.com 1.12 https://gsmarena.com 9.06 https://evernote.com 6.9 https://verizonwireless.com 0.0 https://secureserver.net 1.67 https://repubblica.it 3.05 https://milliyet.com.tr 0.0 https://isanalyze.com 1.96 https://sharepoint.com -0.0 https://eastday.com 3.07 https://mailchimp.com -0.0 https://nyaa.se -0.0 https://enet.com.cn 76.19 https://medium.com 0.0 https://google.az -0.0 https://akamaihd.net 2.83 https://dmm.com 1724. https://billdesk.com 2.55 https://wsj.com 0.0 https://naukri.com 22.87 https://kinopoisk.ru -0.0 https://friv.com 9.42 https://expedia.com -0.0 https://livedoor.biz -0.0 https://macys.com 4.04 https://avg.com 0.65 https://tube8.com 0.11 https://libero.it 7.23 https://intuit.com 0.0 https://google.no 0.0 https://google.fi 3.42 https://urdupoint.com -0.0 https://taleo.net ---- Here's how I ran the script: cat urls.txt | while read line; do python3 js_ratio.py ratio_only $line; done I then copypasted like a pro in sublime text 3 (shift+right click (select areas) is really cooool). Have a nice day, besides now knowing that the web is full of js (that's slowing down the web[0]) :) [0]: https://v8.dev/blog/cost-of-javascript-2019 > In fact, of the total time a page spends loading in a browser like Chrome, anywhere up to 30% of that time can be spent in JavaScript execution.