Forums

LiveChess Unnecessary Overhead

Sort:
PHI33

I discovered something this site might find interesting, from a financial\optimization perspective at least. I ran a simple regex expression on several important site components in live chess to eliminate unnecessary endlines, spaces, and comments that have no effect whatsoever in the rendering of the page. The basic results are as follows (though at best an estimation; possibly can even be shown to be worse,though).

 

Overhead in Bytes

       12909        livechess html

       13566        chess css

        2520        dijit css

        9177        playsimple css

        4548        allmainfunc js

        7684        livebase js

        2779        livechessadvanced js

-------------------------------------------------

       53183        total overhead per user

   372281000        total site overhead per day

135882565000        total site overhead per year

 

Summary

53 kB per user/day

372 mB total site/day

136 GB total site/year

PHI33

Per day may be a little misleading. More like per request. Maybe with browser caches it's not so bad. Dunno. Still interesting.

oneomega

interesting,why don't you sent your findings to chess.com.