2 ms·
I build HTML5 games and I need to use very specific hacks for certain browsers, e.g. use a different offscreen canvas implementation for Safari due to performan
by Kiro 7y ago
I build HTML5 games and I need to use very specific hacks for certain browsers, e.g. use a different offscreen canvas implementation for Safari due to performance. I can't use feature detection since it's not about a missing feature.
- clopez 7y agoYou can benchmark the alternatives for 2 seconds and choose the faster. Call it: performance detection