Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kiro
· 6y ago · 0 comments
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.
Comments
[–]
clopez
6y ago
You can benchmark the alternatives for 2 seconds and choose the faster. Call it: performance detection