Re: [JS-internals] Exploring GC latency limitations to smooth animation

2014-12-16 Thread jwmerrill
On Sunday, December 14, 2014 3:41:20 PM UTC-8, Boris Zbarsky wrote: > On 12/14/14, 12:15 PM, jwmerr...@gmail.com wrote: > > How would I find this out myself? > > Set the "javascript.options.mem.log" preference to true in about:config > and then look at Tools > Web Developer > Browser Console (at

Re: [JS-internals] Exploring GC latency limitations to smooth animation

2014-12-14 Thread Boris Zbarsky
On 12/14/14, 12:15 PM, jwmerr...@gmail.com wrote: How would I find this out myself? Set the "javascript.options.mem.log" preference to true in about:config and then look at Tools > Web Developer > Browser Console (at least on Mac; not sure where the devtools are in the menu structure on Windo

Re: [JS-internals] Exploring GC latency limitations to smooth animation

2014-12-14 Thread Nicholas Nethercote
On Mon, Dec 15, 2014 at 4:15 AM, wrote: > >> Any idea why Elm is so super garbage heavy? >> Sounds like it needs some optimizations. > > I don't know how to quantify "super garbage heavy" yet. If you work really > really hard, you can avoid per-frame allocation completely. But Elm > definitely

Re: [JS-internals] Exploring GC latency limitations to smooth animation

2014-12-14 Thread jwmerrill
On Sunday, December 14, 2014 9:15:59 AM UTC-8, jwme...@gmail.com wrote: > On Saturday, December 13, 2014 5:47:11 PM UTC-8, smaug wrote: > > On 12/14/2014 02:25 AM, jwmerr...@gmail.com wrote: > > > I have recently been working on making it possible to achieve 60 fps > > > animations in Elm (a compi

Re: [JS-internals] Exploring GC latency limitations to smooth animation

2014-12-14 Thread jwmerrill
On Saturday, December 13, 2014 5:47:11 PM UTC-8, smaug wrote: > On 12/14/2014 02:25 AM, jwmerr...@gmail.com wrote: > > I have recently been working on making it possible to achieve 60 fps > > animations in Elm (a compile-to-js functional language http://elm-lang.org/) > > programs backed by canvas

Re: [JS-internals] Exploring GC latency limitations to smooth animation

2014-12-13 Thread smaug
On 12/14/2014 02:25 AM, jwmerr...@gmail.com wrote: I have recently been working on making it possible to achieve 60 fps animations in Elm (a compile-to-js functional language http://elm-lang.org/) programs backed by canvas. I posted about progress and limitations on the Elm list https://groups

[JS-internals] Exploring GC latency limitations to smooth animation

2014-12-13 Thread jwmerrill
I have recently been working on making it possible to achieve 60 fps animations in Elm (a compile-to-js functional language http://elm-lang.org/) programs backed by canvas. I posted about progress and limitations on the Elm list https://groups.google.com/forum/#!topic/elm-discuss/ErEx6IZNNAQ a