May 28, 2015
Also someone on IRC came around and looked at the performance profile for my game in Chrome tools and found my
deepCopy function was taking like 60% of their CPU. I was embarrassed so I set out to optimize it. It runs much, much better now. My next step is to convert it to a binary protocol and make the clients predict more... but this will be built on top of this system rather than the old copy/diff the whole state. Now the CPU time is spent in copying webGL buffers around, a much better use of CPU time.