8 ms·
Web Bloat Score Calculator
- siddharthdeswal 10y agoTimeout when checking vwo.com
- ryanbertrand 10y agoNot loading at all.
- revital9 10y agoThey can't process requests now. Hug of death already?
- sillysaurus3 10y agoWhoa. Your last comment before this one was 6.2 years ago. You seem to be banned, by the way. I had to vouch this comment, and your previous comment (https://news.ycombinator.com/item?id=1525566 https://news.ycombinator.com/item?id=1525566) is dead too. Since that was long before the new mod team, you may want to email hn@ycombinator.com to discuss the possibility of getting yourself unbanned. Welcome back to HN.
- dasil003 10y agoUnbanned already as far as I can tell.
- sillysaurus3 10y agoThe comment I replied to was marked [dead], which usually indicates a ban. It's alive now since I vouched it. Is there another way to know?
- oneeyedpigeon 10y agoDespite having used HN for several years now, I've never really understood [dead] etc. The FAQ says it's anything that has been flagged as such by mods or the software itself. So does the original author of the comment see "[dead]"? Does it happen automatically if the author is banned/shadow banned? Why/how are so many 'New' submissions 'DOA'? Is there anywhere that explains this so I never have to ask these questions - and others - again?
- labster 10y agoThe first HN moderation rule is "don't talk about HN moderation rules". The goal is maturity through obscurity.
- jayjay71 10y agoHow does a lack of transparency help?
- sillysaurus3 10y agoSure, feel free to ask anything you're curious about. The only reason I know the answers is because I've been around since day two across various accounts. > So does the original author of the comment see "[dead]"? Nope. > Does it happen automatically if the author is banned/shadow banned? Yes, all submissions and comments from a banned account are automatically killed. > Why/how are so many 'New' submissions 'DOA'? There is a banlist for domains in addition to accounts. Any attempt to submit a link to a banned domain will be killed. Interestingly, news.ycombinator.com is banned in order to prevent meta-submissions. If you're curious what someone sees when they submit a banned post, submit e.g. this comment. > Is there anywhere that explains this so I never have to ask these questions - and others - again? Nope. :) It's an evolutionary process that's been going on for 9.7 years. http://www.paulgraham.com/hackernews.html http://www.paulgraham.com/hackernews.html There are at least four other ways that a comment can become dead: if it's a dupe (try submitting the same comment twice), if it's flagged by multiple users (around three or four, I think?), if a moderator manually kills a comment, or if someone is posting from Tor under a brand-new account. In the case of a dupe or a flag, you'll see [dupe] [dead] or [flagged] [dead] respectively. That's how you can tell why a comment is dead: if it's just [dead], either a mod killed it, it was posted by a banned user, or was posted from a Tor user. If the user's name is green, it's probably a Tor user. In this case, they were obviously banned because the comment was only 24 minutes old when I replied. Nowadays, when a moderator kills a comment manually, they will usually leave a reply stating the reason. Since there was no reply, I suspected the user was banned. This brings us to one of HN's most interesting features: the vouching system. If you have a certain amount of karma, I think a few hundred points, then you can cause a comment to go from [dead] to alive. The reason this was implemented is because sometimes a banned user posts an informative or harmless comment. These comments would provide value to the community. To vouch a dead comment, you must first be able to see dead comments. If you go into your profile, you'll find a setting called "showdead" which you can set to true. (By default, no one sees dead comments.) Then to vouch, click on a dead comment's timestamp. You'll be taken to a page with a "vouch" link. I don't know how it is for other users, but for me, clicking on "vouch" always resurrects the dead comment. I.e. only my own vouch is necessary. I assume it's the same for other users. This is a serious responsibility. The moment that people start vouching crap comments is the moment dang will have to rework the vouching system. HN brings a bit of joy to my life, so I like to go out of my way to vouch dead comments that are high quality, and then read through the user's previous comments to see whether they were banned and why. 95% of the time, I say nothing to them. Users were almost always banned with good reason. In the case where you spot someone who was banned for seemingly no reason, the user was almost always involved in abusing the site (voting with multiple accounts, etc). This user happened to be the exception to that. They were banned 6.2 years ago with seemingly no reason. Perhaps they were involved in some sort of abuse against HN. Or perhaps they were posting from a shared IP address and happened to get be mis-identified. Either way, 6 years is certainly enough time for them to appeal their ban. Besides, I like the idea of someone coming back to the site and being welcomed. The HN team is very responsive and quite reasonable, so usually if you send a sincere apology and promise to behave then you'll be given another chance. It's been pretty fascinating to watch the moderation process evolve along with the community over the years.
- babuskov 10y ago> Whoa. Your last comment before this one was 6.2 years ago. Now that's what I call Lurking ;) Too bad there's no Stackoverflow-style badge for it.
- cottsak 10y agoyep. dead
- bencollier49 10y agoIf they got rid of all that bloat, they'd be better able to cope with the load, clearly.
- JoshTriplett 10y agoWhile the phrasing seems problematic, as HTML has value even if larger than the equivalent image (selectable text, clickable links, interactive elements, etc), the metric seems vaguely reasonable. In particular, if you compare to the compressed screenshot size, then you've incorporated a very simplistic complexity metric beyond just the dimensions of the page.
- benkaiser 10y agoCalling the metric "WebBS" was fantastic, it had me continually reading it as "Web Bulls!@#"
- michalstanko 10y agoI would be surprised if it wasn't author's exact intent.
- splatcollision 10y agoThe naming is rather brilliant
- trymas 10y agogoogle cache: http://webcache.googleusercontent.com/search?q=cache:VB9qf1VIk-EJ:www.webbloatscore.com/+&cd=1&hl=en&ct=clnk&gl=us http://webcache.googleusercontent.com/search?q=cache:VB9qf1V...
- ralish 10y agoIt's certainly a lean web site. Or rather, the 503 is lean.
- lazyjones 10y agoI found an interesting case where WebBS does not seem to reflect my understanding of "bloat". A very long page with Page size: 3,672 kB and 219 requests Image size: 11,390 kB (http://www.webbloatscore.com/Screenshots/58b58030-6807-4638-b8f2-c6a7fba5eac9.png http://www.webbloatscore.com/Screenshots/58b58030-6807-4638-...) WebBS score: 0.322 It's apparently easy to obtain a good WebBS score by including lots of JPEG images. The PNG used for the image size calculation is typically much larger for the same bitmap, so every JPEG reduces the WebBS score.
- svens_ 10y agoI was finally able to try it out and this is exactly my observation too. I've got a very similar score of 0.323 for an Angular SPA with a bunch of dependencies (1,276 kB, 44 requests) that basically shows 5 jpeg images. Would be interesting to see the result when using JPEG instead of PNG. However it's still easy to gamble, just display some large JPEG images in full size and the score will approach 1. Edit: By the way, here's a working screenshot link for the score above (image size 3,947 kB): http://www.webbloatscore.com/Screenshots/aeea9b6a-4852-4b01-b8ec-c2912dbfc589.png http://www.webbloatscore.com/Screenshots/aeea9b6a-4852-4b01-... They screenshot the whole page.
- lazyjones 10y ago> just display some large JPEG images in full size and the score will approach 1. Or less, depending on the JPEG quality setting used in each case I guess. That's not completely unreasonable though - if I only want to look at a few large images (e.g. from Mars) and my browser downloads mostly just that, it's not really bloated.
- IsmaOlvey 10y agoMore generally, visual simplicity will be penalized. As an example, http://jsbin.com/milelocito http://jsbin.com/milelocito gets a score of 0.011, and http://jsbin.com/fejevatihi http://jsbin.com/fejevatihi a score of 0.035. The site timed out while trying to calculate the scores, so I had to do it manually. The respective sizes were 3377 (html), 283130 (png) and 3323 (html), 92815 (png). This example is a bit contrived, but you'll see the same effect for more subtle decorations as well (e.g. box-shadow, ...).
- Raed667 10y agoWhy don't you cache the results for your proposed websites (or at least just your own's ? )
- tinodotim 10y ago+1, that should take quite some load off. Some kind of retest link would be helpful though, to clear the cache and test a page again.
- belvoran 10y agoQuite funny. My blog page (with text only) has score 4.06. Converting it to image is stupid. Btw. I've been working with a Korean company on a couple of Korean websites. What they provided was ONLY IMAGES. All the texts were images, new content was in images, all the changes were just image changes. It was a nightmare.
- noobermin 10y agoHaving dealt with the Korean web (as a user) it was daunting.
- dasboth 10y agoA lot of Japanese websites are the same. All the navigation buttons are images for example, I found that quite a bad experience over slow wifi!
- rasz_pl 10y agothats what you get in IE 6 society
- oolongCat 10y agoOnce had a customer who did the same. His reason at the time was that his customers see boxes otherwise. This was one of my first projects and I was still in school then. Didn't know anything about unicode, plus unicode was not that popular then. I guess, may be your customer has the same problem.
- mikegerwitz 10y agoSetting aside countless other obvious issues, converting text to images is a huge accessibility issue.
- talmand 10y agoLucky it's not based in the US, that's the sort of thing that gets you sued.
- vbernat 10y agoThe score is a bit flawed as it assumes pertinent information can only be contained in text, not in images.
- calineczka 10y agoIt would kind-of-make sense but only for static pages. Pages are now an interactive applications so comparing them to size of visual representation of their initial state is not a best metric.
- adrianN 10y agoAlmost all pages I regularly visit are not interactive applications. HN is one of the most interactive sites. News websites in particular are guilty of downloading Megabytes upon Megabytes of who knows what to display the five paragraphs of text and the image that I actually want to see.
- swiley 10y agoI personally try to avoid interactive pages. Most of them seem to be built by people who hire psychologists with the goal of preventing you from doing other things.
- JohnStrange 10y agoIf by interactive you mean "reactive html5" pages, then I have to admit that I avoid them like the plague. They require endless scrolling, there are often pointless template images on them and the fonts are too big, and their maintainers often want you to try out or download something 'for free' - and three days later you find out it's not free at all and they want $5/mo.
- CaptSpify 10y agoSure, there are exceptions. I couldn't imagine google maps without bloat. That is a web-application. But it is an exception. The current problem is that we treat exceptions like they are the norm. Most sites to not need tons of JS/css/etc to display a 10-paragraph news article, yet they do because "reasons".
- smoe 10y agoA lot of developers like to think that the websites they're building are interactive applications where people spent a lot of time strolling around. In almost all cases I get to such "applications" through direct deep links, and i'll close the tab when done looking at that specific page. I rarely care about anything else but the initial state. Same experience when I was working for a news site. An increasing amount of users get to articles directly from e.G. facebook and close the site after reading.
- pvdebbe 10y agoWhile the implementation is not optimal (favors photograph content as PNG is not going to win JPEG here; overall favors pages of few colors) the idea is actually quite decent.
- Aoyagi 10y agoI'd very much prefer script bloat calculator.
- oolongCat 10y ago1.Open dev tools 2.run a JS CPU profile. 3. :)
- JohnStrange 10y agoIs there a site or software that allows you to really convert your site to an image map?
- hawski 10y agoI find "The long tale of two tribes" at the bottom of the page far more interesting than the score calculator itself. We should discuss this and not nitpick on WebBS gaming. It would be better for discussion to have article at the beginning of the page and later on introduce the score calculator. I would not say that it is easy to pick one particular side. It is true however that web feels too bloated. It is funny how simple static page with everything embedded can be faster than whatever fancy web framework. Look how quick St4k [1] is. Computing on server may be fast and energy efficient. It also hides complexity. But then we end up in proprietary walled garden. There must be some middle ground. I am hopping that Sandstorm project [2] will bring democratization of the server space. Lately I think that our technology meets the ceiling. In the past we imagined that everyone would have their personal flying car or that we would have a space plane. Now we have subsonic jets and maybe electric self-driving cars behind the corner. We have a promise of reusable rockets with stages landing separately like some kind of elevator. Everything is smoke and mirrors. We will not have thin clients with low latency links to servers everywhere just like we will never have independent and fully distributed thick clients. We will fake it until we make it. There may be Netflix cache [3] near you to simulate that network is fast in both senses. [1] http://danlec.com/st4k# http://danlec.com/st4k# [2] https://sandstorm.io/ https://sandstorm.io/ [3] https://openconnect.netflix.com/en/delivery-options/ https://openconnect.netflix.com/en/delivery-options/ [EDIT] I worded it poorly. St4k was not meant to be an example of fully static page, but rather general trend. Yes, St4k is SPA, but after one request you have whole application. Next requests bring content only.
- userbinator 10y agost4k is very much not a "simple static page"; it's a tiny SPA which requires JS.
- userbinator 10y agoLook at the homepages of Tim Berners-Lee, Bjarne Stroustrup, and Donald Knuth. All three together have 235 kB, less than one Google SERP. Images are optimized, most of the content is above the fold, and their pages were "responsive" two decades before responsive design became a thing. But they are all ugly. "Ugly" is subjective. Personally, I like that minimal information-rich style instead of the over-designed monstrosities I come across so often which are glittery and trendy on first glance, yet quite vapid in terms of content. They also tend to be annoyingly distracting to actually try reading, due to all the extra crap. The former feels like reading a book, the latter a tabloid.
- rimantas 10y ago1/3 of KB of CSS can convert any of them from ugly into really nice.
- ab36x90128 10y agoHow? They aren't ugly in the first place. In fact they're eminently readable and navigable.
- vcarl 10y agoMy biggest complaint on most of those sorts of sites are: * Tight line spacing * Full window width lines * Small fonts * Sometimes, font choice When I'm reading something lengthy on a site like those named, I'll usually set a max-width on the body, give it auto margins, and play with line-height, font-size, and usually set it to Arial. Takes me 30 seconds on pages that aren't terrible and makes it much easier to read.
- vram22 10y agoHow? By changing those things in the browser's console, or some other way? And if in console, do you have to do it each time, or can you save it somehow?
- Etheryte 10y agoIt makes me glad to see that HN scores well, as presumed: Page size: 10.4 kB and 6 requests Image size: 59 kB Web-BS: 0.176
- bikamonki 10y agoSeems WebBS is not accurate to measure information density of: pages with lots of images, video streaming and text rendered as images. It seems it aims to measure bloat for information delivered as text (layout, colors, etc also convey information but for simplicity let's avoid trying to measure them). So, in essence WebBS aims to measure rendered html without tags (like using the text() function of jQuery to get contents of a div tag). In that case, why no traversing the DOM, get clean text content, measure it (count bytes) and divide by request size. In this case, WebBS will always be below 1 and a value closer to 1 is better. Also, some punishment points should be considered for number of request (or maybe define another rate since that is not bloat per-se).
- unoti 10y agoThis is like a poster child for a bad metric. It's bad because it's possible for a team to do a good job and have the metric look bad, it's possible for a team to do a bad job And have the metric look good. Are we sure that this metric is measuring something that we care about? This metric is interesting to me, but it's an esoteric thing compared to practical issues of how well a site achieves its goals. This metric reminds me of tongue and groove house design: It's wonderful, but only matters to artisans.
- titzer 10y agoTo some extent this is true of many metrics. The real question is whether the metric motivates people to do the right thing. Is this something people should optimize for to the exclusion of other goals? Probably not. But bloat is a serious problem, and this metric just shines the light of recognition on that.
- oxguy3 10y agoTried to run it on boston.com, and I got a "Calculator stopped measuring after ~20 sec timeout." error. When the bloat tool can't even fully measure your bloat, you might have a problem.
- j4_james 10y agoMinor bug report: I was testing a page that was using SVG Stacks[1], where multiple icons are encapsulated in a single SVG image and the individual icons are referenced via fragment identifiers. This caused the WebBS calculator to count the SVG image multiple times (once for each fragment reference), resulting in a score that was significantly worse than it should have been. [1] http://simurai.com/blog/2012/04/02/svg-stacks http://simurai.com/blog/2012/04/02/svg-stacks
- highfestiva 10y agoA job well done, congratulations! The idea is fantastic and your implementation, including the choice of non-lossy reference image, has a sound design. The purpose and intent is obvious. And please ignore the complaining bunch! Any metric can of course be misused (think unit test coverage, linting, soft coding, etc.) but writing software is craftsmanship. We're half-way to art. To even be able to measure is an achievement, and what gets measured gets better. Me and my senior colleagues immediately took it to heart and will use it as objectively as language shootout. Many thanks for planting an industry standard seed!