Re:Show HN: Real Time Users – Add a real-time user counter t...
by codepie on Thursday June 09, 2016 @11:25AM
(#11870008)
Is it just me or this website is heavy on CPU? Increased my CPU usage by 50%.
[ Parent
| on HN ]
Re:Show HN: Real Time Users – Add a real-time user counter t...
by fredrivett on Thursday June 09, 2016 @11:26AM
(#11870016)
Hmm, could be. It might be the CSS animations on the numbers on the homepage there. I'll look into it. Thanks for the heads up
Re:Show HN: Real Time Users – Add a real-time user counter t...
by oneloop on Thursday June 09, 2016 @11:51AM
(#11870191)
Do one thing right. Get rid of anything that's not essential, like animations.
Re:Show HN: Real Time Users – Add a real-time user counter t...
by fredrivett on Thursday June 09, 2016 @11:52AM
(#11870202)
I think there's room for adding style around substance, but not if it causes issues. I wasn't aware of the performance issues, but now I know I'll be sure to look at this when I get home from work.
Re:Show HN: Real Time Users – Add a real-time user counter t...
by mosselman on Thursday June 09, 2016 @12:38PM
(#11870511)
You could look at moving the animations to the GPU.
You could read this ( I just duckduckgoed this, but it looked like what I remember it involves to do this).
http://blog.teamtreehouse.com/increase-your-sites-performanc...
Re:Show HN: Real Time Users – Add a real-time user counter t...
by fredrivett on Thursday June 09, 2016 @03:50PM
(#11871835)
Perfect, thanks Mosselman. Will take a look!
Re:Show HN: Real Time Users – Add a real-time user counter t...
by Splendor on Thursday June 09, 2016 @04:54PM
(#11872315)
Not just you. This site crashed Firefox for me.
Re:Show HN: Real Time Users – Add a real-time user counter t...
by fredrivett on Thursday June 09, 2016 @06:16PM
(#11872791)
Sorry to hear that Splendor, that's properly bad. I'll look into this.