# Elm 0.17 isn't that fast with TodoMVC Benchmark v1.0.0

**URL:** <https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586>\
**Category:** Request Feedback\
**Created:** [August 18, 2022, 3:33pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586 "2022-08-18T15:33:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_K](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/d_k/32/4659_2.png) [@D\_K](https://discourse.elm-lang.org/u/D_K)\
**Post date:** [August 18, 2022, 3:33pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586/1 "2022-08-18T15:33:38Z")

</div>

![Screenshot from 2022-08-18 18-31-18](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/2X/6/65b4f8bbc8e4d5e9ae483467728c414814f1a500.png)

Can anyone comment about Elm code in the benchmark?  
[https://developit.github.io/preact-perf](https://developit.github.io/preact-perf)

---

<div class="post-metadata">

**Author:** ![D\_K](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/d_k/32/4659_2.png) [@D\_K](https://discourse.elm-lang.org/u/D_K)\
**Post date:** [August 18, 2022, 3:50pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586/2 "2022-08-18T15:50:54Z")

</div>

Results with less tests at once:  
 ![Screenshot from 2022-08-18 18-48-20](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/2X/5/593bb51e69a5081e3463f9dcf18dee7410669bed.png)

---

<div class="post-metadata">

**Author:** ![gampleman](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/gampleman/32/43_2.png) [@gampleman](https://discourse.elm-lang.org/u/gampleman)\
**Post date:** [August 18, 2022, 3:53pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586/3 "2022-08-18T15:53:31Z")

</div>

1. That’s not really that bad. Being about 20% faster than the industry standard framework isn’t a bad result. How much more you can optimise out of a simple synthetic benchmark isn’t really that important in practice.

2. I’d take a relatively trivial benchmark like this with a big pinch of salt. First of all the benchmark ranking seems pretty variable (even your own two screenshots show wildly different rankings; mine are different still). That’s not a good sign for a solid benchmark suite aiming to compare “frameworks”.

3. Elm 0.17? Who cares? Do you still use Elm 17? Elm 19 came out 4 years ago…

---

<div class="post-metadata">

**Author:** ![D\_K](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/d_k/32/4659_2.png) [@D\_K](https://discourse.elm-lang.org/u/D_K)\
**Post date:** [August 18, 2022, 3:59pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586/4 "2022-08-18T15:59:04Z")

</div>

1. I wouldn’t call operations on list a synthetic benchmark. Not everyone uses them, I see point in this benchmark.

2. I agree that results vary right now and I see even 200-300% performance spikes between runs. They should work hard with consistency of benchmarks.

3. I have no opinion. This is what Google brings with “TodoMVC Benchmark” search.

---

<div class="post-metadata">

**Author:** ![pdamoc](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/pdamoc/32/36_2.png) [@pdamoc](https://discourse.elm-lang.org/u/pdamoc)\
**Post date:** [August 18, 2022, 4:02pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586/5 "2022-08-18T16:02:37Z")

</div>

Looks reasonable on my machine:

![Screenshot 2022-08-18 at 19.01.10](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/2X/e/ebee548831610a5abddb20187da89731ac025778.png)

Later Edit: the results of the benchmark are not really reliable. This becomes obvious if one runs the suite multiple times.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [August 28, 2022, 4:03pm UTC](https://discourse.elm-lang.org/t/elm-0-17-isnt-that-fast-with-todomvc-benchmark-v1-0-0/8586/6 "2022-08-28T16:03:18Z")

</div>

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