Elm-v0.19.1-3 is quite memory hungry according to js web frameworks benchmark

Source code: GitHub - krausest/js-framework-benchmark: A comparison of the perfomance of a few popular javascript frameworks

Latest results with Linux: Interactive Results

What are you actually looking at here?

I mean, if you select a bunch of virtual dom based frameworks elm behaves quite reasonable. Its performance is on par with Vue or React.

1 Like

I think it can be useful to add a statement to the documentation that Virtual DOM isn’t free with link to this benchmark or better variant.

I’m new to how Virtual DOM works so this surprised me.

Oh, my bad. I assumed you knew about it and was confused.

VirtualDOMs usually keep a mirror or the actual DOM as a datastructure and this datastructure can take up quite a lot of memory if the page is complex.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.