Update Memory Usage Over Time charts with actual data from timeline files
This commit is contained in:
@@ -299,7 +299,7 @@ xychart-beta
|
||||
title "C - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 12
|
||||
y-axis "Memory (MB)" 0 --> 1
|
||||
line [0.0]
|
||||
line [0.2, 0.2, 0.2, 0.2, 0.0]
|
||||
```
|
||||
|
||||
**Analysis:** C uses practically no memory and executes in 11ms. Memory remains stable at 0 MB throughout execution.
|
||||
@@ -323,7 +323,7 @@ xychart-beta
|
||||
title "Assembly - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 20
|
||||
y-axis "Memory (MB)" 0 --> 1
|
||||
line [0.0]
|
||||
line [0.9]
|
||||
```
|
||||
|
||||
**Analysis:** Assembly shows similar performance to C and Rust with minimal memory.
|
||||
@@ -335,7 +335,7 @@ xychart-beta
|
||||
title "Haskell - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 8
|
||||
y-axis "Memory (MB)" 0 --> 12
|
||||
line [10.5]
|
||||
line [0.2, 9.7, 0.0]
|
||||
```
|
||||
|
||||
**Analysis:** Haskell is fast (49ms) but uses significantly more memory (10.5 MB) due to runtime and garbage collector.
|
||||
@@ -347,7 +347,7 @@ xychart-beta
|
||||
title "Dart - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 12
|
||||
y-axis "Memory (MB)" 0 --> 11
|
||||
line [9.1]
|
||||
line [0.2, 7.9, 10.8, 10.8, 10.8, 10.8, 10.8, 0.0]
|
||||
```
|
||||
|
||||
**Analysis:** Dart shows higher memory usage (9.1 MB) but maintains good performance thanks to JIT compilation.
|
||||
@@ -361,7 +361,7 @@ xychart-beta
|
||||
title "Elixir - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 300
|
||||
y-axis "Memory (MB)" 0 --> 3
|
||||
line [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
line [0.5, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
```
|
||||
|
||||
**Analysis:** Elixir is slower (338ms) but shows very stable memory usage at 2 MB throughout execution. The BEAM VM provides predictable memory usage.
|
||||
@@ -373,7 +373,7 @@ xychart-beta
|
||||
title "TypeScript - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 1500
|
||||
y-axis "Memory (MB)" 0 --> 3
|
||||
line [1.9, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
line [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
```
|
||||
|
||||
**Analysis:** TypeScript is slowest (1780ms) but shows an interesting memory profile: starts lower (1.9 MB) and quickly stabilizes at 2 MB.
|
||||
@@ -385,7 +385,7 @@ xychart-beta
|
||||
title "Scala - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 360
|
||||
y-axis "Memory (MB)" 0 --> 3
|
||||
line [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
line [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
```
|
||||
|
||||
**Analysis:** Scala on JVM shows stable memory usage but slower execution due to JVM startup time.
|
||||
@@ -397,7 +397,7 @@ xychart-beta
|
||||
title "JavaScript - Memory Usage Over Time"
|
||||
x-axis "Time (ms)" 0 --> 500
|
||||
y-axis "Memory (MB)" 0 --> 3
|
||||
line [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 0.0]
|
||||
line [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
||||
```
|
||||
|
||||
**Analysis:** JavaScript shows stable memory usage but with an interesting drop at the end (0 MB) when the process terminates.
|
||||
|
||||
Reference in New Issue
Block a user