Re:Show HN: Acolytefight.io – Multiplayer Skillshot Arena HT...
by Kiro on Friday September 14, 2018 @01:41AM
(#17984947)
The solution is for Firefox to fix their broken performance. I don't understand how all comments make it sound like this is a problem with Chrome.
[ Parent
| on HN ]
Re:Show HN: Acolytefight.io – Multiplayer Skillshot Arena HT...
by dreepDeam on Friday September 14, 2018 @01:54AM
(#17984996)
Not likely. There are tons of webgl demos out there, performing quite advanced tasks, well beyond what this game is up to, and Firefox and Chrome produce equal results.
Example: https://zenphoton.com/
My guess is there's some sort of misplaced network hook, introducing latency into OP's event handlers, and it's producing a noticeable side-effect in Firefox, which, perhaps Chrome optimizes for, as a common, anticipated programmer tendency, that gets re-ordered behind the scenes.
Re:Show HN: Acolytefight.io – Multiplayer Skillshot Arena HT...
by BSTRhino on Friday September 14, 2018 @10:23PM
(#17992619)
Seems a big part of it was the software rendering of the filter: blur(5px) in Firefox, where other browsers are doing this in hardware. I've removed that CSS class for Firefox specifically now, and it's performing a lot better. The profiler now says 60% idle, 14% graphics, whereas previously there was no idle and it was 85% graphics.