Skip to content
Permalink
Browse files

Report performance results for commit c1d3d2a

  • Loading branch information
Viir committed Feb 2, 2020
1 parent c1d3d2a commit 9ea07af0c548097d9577562d37641105c8044b32
Binary file not shown.
@@ -59,3 +59,60 @@ Completed. Press any key to finish.
```

![Graph indicating the memory leak in the runtime from January](2020-02-02.elm-fullstack-demo-memory-leak-before-graph.png)

[Commit c1d3d2a01dc776804467d31421f508a68550078b](https://github.com/elm-fullstack/elm-fullstack/commit/c1d3d2a01dc776804467d31421f508a68550078b) implements a change to use the `CallFunction` API instead of `Evaluate`.

Results from the demo app show that [commit c1d3d2a01dc776804467d31421f508a68550078b](https://github.com/elm-fullstack/elm-fullstack/commit/c1d3d2a01dc776804467d31421f508a68550078b) fixed this problem, and memory usage now remains stable:

```terminal
Completed batch 0 of 15 in 12002 ms, lastEventResponse: 200000
Memory use: Process private memory / MB: 228
Press any key to continue.
Completed batch 1 of 15 in 12107 ms, lastEventResponse: 400000
Memory use: Process private memory / MB: 227
Press any key to continue.
Completed batch 2 of 15 in 12519 ms, lastEventResponse: 600000
Memory use: Process private memory / MB: 229
Press any key to continue.
Completed batch 3 of 15 in 11956 ms, lastEventResponse: 800000
Memory use: Process private memory / MB: 229
Press any key to continue.
Completed batch 4 of 15 in 11910 ms, lastEventResponse: 1000000
Memory use: Process private memory / MB: 229
Press any key to continue.
Completed batch 5 of 15 in 12158 ms, lastEventResponse: 1200000
Memory use: Process private memory / MB: 36
Press any key to continue.
Completed batch 6 of 15 in 11902 ms, lastEventResponse: 1400000
Memory use: Process private memory / MB: 36
Press any key to continue.
Completed batch 7 of 15 in 11887 ms, lastEventResponse: 1600000
Memory use: Process private memory / MB: 36
Press any key to continue.
Completed batch 8 of 15 in 12229 ms, lastEventResponse: 1800000
Memory use: Process private memory / MB: 35
Press any key to continue.
Completed batch 9 of 15 in 11954 ms, lastEventResponse: 2000000
Memory use: Process private memory / MB: 35
Press any key to continue.
Completed batch 10 of 15 in 11967 ms, lastEventResponse: 2200000
Memory use: Process private memory / MB: 35
Press any key to continue.
Completed batch 11 of 15 in 12009 ms, lastEventResponse: 2400000
Memory use: Process private memory / MB: 35
Press any key to continue.
Completed batch 12 of 15 in 11874 ms, lastEventResponse: 2600000
Memory use: Process private memory / MB: 35
Press any key to continue.
Completed batch 13 of 15 in 11919 ms, lastEventResponse: 2800000
Memory use: Process private memory / MB: 35
Press any key to continue.
Completed batch 14 of 15 in 12167 ms, lastEventResponse: 3000000
Memory use: Process private memory / MB: 35
Press any key to continue.
Memory use: Process private memory / MB: 32
Completed. Press any key to finish.
```

![Graph showing performance for commit c1d3d2a01dc776804467d31421f508a68550078b](2020-02-02.elm-fullstack-demo-commit-c1d3d2a0.png)

0 comments on commit 9ea07af

Please sign in to comment.
You can’t perform that action at this time.