Hacker News new | past | comments | ask | show | jobs | submit login

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.





You can benchmark the alternatives for 2 seconds and choose the faster. Call it: performance detection



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: