Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upTextured shapes performance issue #119
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jastice
commented
Jan 29, 2015
|
See also elm/compiler#724 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
dy-dx
Mar 17, 2015
I am getting an infinite loop when rendering a textured shape, using this code:
https://gist.github.com/dy-dx/4213cab10354b1c9b060
http://share-elm.com/sprout/55089d4de4b0d720e25d6386
This function keeps calling itself til my browser crashes:
https://github.com/elm-lang/core/blob/master/src/Native/Graphics/Collage.js#L143
dy-dx
commented
Mar 17, 2015
|
I am getting an infinite loop when rendering a textured shape, using this code: https://gist.github.com/dy-dx/4213cab10354b1c9b060 This function keeps calling itself til my browser crashes: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
dy-dx
Mar 17, 2015
OK, I've got a fix for the issue: dy-dx@b676350
These changes work when I edit the compiled JS from elm-make, but unfortunately I have no idea how to build/test the entire project. Can someone help me out?
dy-dx
commented
Mar 17, 2015
|
OK, I've got a fix for the issue: dy-dx@b676350 These changes work when I edit the compiled JS from elm-make, but unfortunately I have no idea how to build/test the entire project. Can someone help me out? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
May 11, 2016
Member
Sorry this did not get attention til now! The Graphics.* modules now live in evancz/elm-graphics so I am trying to get stuff migrated over there. I'm hoping this will make it easier to get help on stuff like this!
|
Sorry this did not get attention til now! The |
etaque commentedJan 18, 2015
Hi,
Textured shapes consume way too much CPU, see this issue:
elm/elm-lang.org#186
(below my original comment)
Hitting this as well with Elm 0.14 on Tacks. Here are Chrome CPU profiling screenshots: