3 ms·
Seems 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 measu
by bikamonki 10y ago
Seems 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).