Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Someone please correct me if I am wrong but I believe the answer is yes. I believe this is the relevant PR:

https://github.com/elm-lang/core/pull/25

I believe the original improvements were done here: https://github.com/jwmerrill/elm-animation-frame

I modified a game I wrote to use the modified run time. I can see a huge difference between the two in Firefox.

Unmodified: http://jcollard.github.io/elm-flyer-old/

Modified: http://jcollard.github.io/elm-flyer/



Author of that PR here. It may help Firefox some, but in my experiments I'm still seeing that driving canvas animations with Elm performs much better in Chrome than in Firefox.

If there are any Firefox engineers reading this, maybe there is a good benchmark to be extracted out of this observation? I'd be interested in discussing this with someone. Feel free to reach out at the e-mail address in my profile.


Yeah, this is in for 0.14. I forgot to mention it in the announcement, but Jason deserves a huge thank you for this improvement!




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

Search: