Likewise, Google penalizes webpages by size. A 3 megabyte page gets a larger penalty than a 1 megabyte, which has a larger penalty than a 1 kB page.
But, they give themselves a free pass, as their own "webpage guidelines" page is 3.4 megabytes long! But, even worse, it has a video on a carousel that repeatedly downloads the video whenever it restarts the video loop.