Add performance charts for all decimal levels
- Added charts for 1, 2, 5, 10, 1000, 2000 decimals - Each decimal level has compiled, JIT-compiled, and interpreted language charts - Shows time performance scaling across different precision levels - Demonstrates how languages perform with increasing decimal counts - All charts use actual test data from benchmarks
This commit is contained in:
@@ -110,6 +110,182 @@ xychart-beta
|
|||||||
bar [130, 349, 898, 58, 154]
|
bar [130, 349, 898, 58, 154]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Performance Scaling by Decimal Count
|
||||||
|
|
||||||
|
#### 1 Decimal
|
||||||
|
|
||||||
|
**Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Compiled Languages - Time (ms) at 1 decimal"
|
||||||
|
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
|
||||||
|
y-axis "Time (ms)" 0 --> 35
|
||||||
|
bar [10, 10, 9, 9, 9, 9, 9, 28, 29, 28]
|
||||||
|
```
|
||||||
|
|
||||||
|
**JIT-Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "JIT-Compiled Languages - Time (ms) at 1 decimal"
|
||||||
|
x-axis ["Java", "C#", "Kotlin", "Julia"]
|
||||||
|
y-axis "Time (ms)" 0 --> 300
|
||||||
|
bar [57, 58, 83, 297]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interpreted Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Interpreted Languages - Time (ms) at 1 decimal"
|
||||||
|
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
|
||||||
|
y-axis "Time (ms)" 0 --> 90
|
||||||
|
bar [57, 54, 78, 79, 82]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 2 Decimals
|
||||||
|
|
||||||
|
**Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Compiled Languages - Time (ms) at 2 decimals"
|
||||||
|
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
|
||||||
|
y-axis "Time (ms)" 0 --> 35
|
||||||
|
bar [9, 9, 9, 9, 9, 9, 9, 26, 29, 28]
|
||||||
|
```
|
||||||
|
|
||||||
|
**JIT-Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "JIT-Compiled Languages - Time (ms) at 2 decimals"
|
||||||
|
x-axis ["Java", "C#", "Kotlin", "Julia"]
|
||||||
|
y-axis "Time (ms)" 0 --> 300
|
||||||
|
bar [57, 57, 83, 294]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interpreted Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Interpreted Languages - Time (ms) at 2 decimals"
|
||||||
|
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
|
||||||
|
y-axis "Time (ms)" 0 --> 90
|
||||||
|
bar [57, 53, 79, 80, 83]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 5 Decimals
|
||||||
|
|
||||||
|
**Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Compiled Languages - Time (ms) at 5 decimals"
|
||||||
|
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
|
||||||
|
y-axis "Time (ms)" 0 --> 35
|
||||||
|
bar [8, 10, 9, 9, 9, 9, 9, 15, 28, 28]
|
||||||
|
```
|
||||||
|
|
||||||
|
**JIT-Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "JIT-Compiled Languages - Time (ms) at 5 decimals"
|
||||||
|
x-axis ["Java", "C#", "Kotlin", "Julia"]
|
||||||
|
y-axis "Time (ms)" 0 --> 300
|
||||||
|
bar [57, 57, 83, 292]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interpreted Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Interpreted Languages - Time (ms) at 5 decimals"
|
||||||
|
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
|
||||||
|
y-axis "Time (ms)" 0 --> 90
|
||||||
|
bar [57, 55, 80, 80, 83]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 10 Decimals
|
||||||
|
|
||||||
|
**Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Compiled Languages - Time (ms) at 10 decimals"
|
||||||
|
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
|
||||||
|
y-axis "Time (ms)" 0 --> 40
|
||||||
|
bar [9, 9, 9, 9, 9, 9, 9, 21, 29, 29]
|
||||||
|
```
|
||||||
|
|
||||||
|
**JIT-Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "JIT-Compiled Languages - Time (ms) at 10 decimals"
|
||||||
|
x-axis ["Java", "C#", "Kotlin", "Julia"]
|
||||||
|
y-axis "Time (ms)" 0 --> 310
|
||||||
|
bar [58, 58, 83, 302]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interpreted Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Interpreted Languages - Time (ms) at 10 decimals"
|
||||||
|
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
|
||||||
|
y-axis "Time (ms)" 0 --> 90
|
||||||
|
bar [57, 54, 78, 79, 83]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 1000 Decimals
|
||||||
|
|
||||||
|
**Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Compiled Languages - Time (ms) at 1000 decimals"
|
||||||
|
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
|
||||||
|
y-axis "Time (ms)" 0 --> 35
|
||||||
|
bar [9, 9, 30, 9, 9, 9, 9, 31, 29, 29]
|
||||||
|
```
|
||||||
|
|
||||||
|
**JIT-Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "JIT-Compiled Languages - Time (ms) at 1000 decimals"
|
||||||
|
x-axis ["Java", "C#", "Kotlin", "Julia"]
|
||||||
|
y-axis "Time (ms)" 0 --> 310
|
||||||
|
bar [57, 57, 83, 299]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interpreted Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Interpreted Languages - Time (ms) at 1000 decimals"
|
||||||
|
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
|
||||||
|
y-axis "Time (ms)" 0 --> 240
|
||||||
|
bar [60, 103, 79, 79, 233]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 2000 Decimals
|
||||||
|
|
||||||
|
**Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Compiled Languages - Time (ms) at 2000 decimals"
|
||||||
|
x-axis ["Assembly", "C", "C++", "Rust", "Go", "Nim", "Odin", "Fortran", "Swift", "Crystal"]
|
||||||
|
y-axis "Time (ms)" 0 --> 35
|
||||||
|
bar [9, 27, 33, 9, 9, 9, 9, 31, 29, 29]
|
||||||
|
```
|
||||||
|
|
||||||
|
**JIT-Compiled Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "JIT-Compiled Languages - Time (ms) at 2000 decimals"
|
||||||
|
x-axis ["Java", "C#", "Kotlin", "Julia"]
|
||||||
|
y-axis "Time (ms)" 0 --> 310
|
||||||
|
bar [57, 57, 83, 299]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interpreted Languages:**
|
||||||
|
```mermaid
|
||||||
|
xychart-beta
|
||||||
|
title "Interpreted Languages - Time (ms) at 2000 decimals"
|
||||||
|
x-axis ["Python", "Perl", "PHP", "Ruby", "JavaScript"]
|
||||||
|
y-axis "Time (ms)" 0 --> 240
|
||||||
|
bar [60, 103, 79, 79, 233]
|
||||||
|
```
|
||||||
|
|
||||||
### Resource Usage Over Time
|
### Resource Usage Over Time
|
||||||
|
|
||||||
The following charts show memory usage throughout the program's entire lifetime. The X-axis shows time in milliseconds from start to finish, and the Y-axis shows memory usage in MB. Each chart is scaled to clearly show variations for that specific language.
|
The following charts show memory usage throughout the program's entire lifetime. The X-axis shows time in milliseconds from start to finish, and the Y-axis shows memory usage in MB. Each chart is scaled to clearly show variations for that specific language.
|
||||||
|
|||||||
Reference in New Issue
Block a user