Fix memory values: use actual bytes from timeline data instead of MB conversion

This commit is contained in:
Ein Anderssono
2026-04-23 10:05:27 +02:00
parent 2dcad0983c
commit be6f32fd74
+9 -9
View File
@@ -58,10 +58,10 @@ xychart-beta
```mermaid ```mermaid
xychart-beta xychart-beta
title "Compiled Languages - Memory Usage (MB) at 100 decimals" title "Compiled Languages - Memory Usage (bytes) at 100 decimals"
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"] x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
y-axis "Memory (MB)" 0 --> 1 y-axis "Memory (bytes)" 0 --> 1000000
bar [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] bar [966656, 180224, 196608, 0, 180224, 0, 0, 196608, 262144, 180224]
``` ```
#### JIT-Compiled Languages #### JIT-Compiled Languages
@@ -76,10 +76,10 @@ xychart-beta
```mermaid ```mermaid
xychart-beta xychart-beta
title "JIT-Compiled Languages - Memory Usage (MB) at 100 decimals" title "JIT-Compiled Languages - Memory Usage (bytes) at 100 decimals"
x-axis ["Java", "C#", "Kotlin", "Julia"] x-axis ["Java", "C#", "Kotlin", "Julia"]
y-axis "Memory (MB)" 0 --> 3 y-axis "Memory (bytes)" 0 --> 2100000
bar [2, 2, 2, 2] bar [2064384, 2080768, 2048000, 2080768]
``` ```
#### Interpreted Languages #### Interpreted Languages
@@ -94,10 +94,10 @@ xychart-beta
```mermaid ```mermaid
xychart-beta xychart-beta
title "Interpreted Languages - Memory Usage (MB) at 100 decimals" title "Interpreted Languages - Memory Usage (bytes) at 100 decimals"
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"] x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
y-axis "Memory (MB)" 0 --> 3 y-axis "Memory (bytes)" 0 --> 2100000
bar [2, 2, 2, 2, 2] bar [2048000, 2048000, 2080768, 2064384, 2080768]
``` ```
#### Slowest Languages #### Slowest Languages