Update Mermaid charts with actual test data
- Updated compiled languages chart with real performance data - Updated JIT-compiled languages chart with actual measurements - Updated interpreted languages chart with test results - Updated slowest languages chart with real data - All charts now reflect actual benchmark results from 100 decimal tests
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python3
|
||||
import csv
|
||||
|
||||
# Read performance data and create summary
|
||||
data = {}
|
||||
with open('performance_data.csv', 'r') as f:
|
||||
reader = csv.reader(f)
|
||||
next(reader) # Skip header
|
||||
for row in reader:
|
||||
if len(row) >= 5 and row[1] and row[1] not in ['SUCCESS', 'Brainfuck', 'Ruby'] and not row[1].startswith('3.'):
|
||||
decimals = row[0]
|
||||
language = row[1]
|
||||
time = row[2]
|
||||
memory = row[3]
|
||||
|
||||
if decimals not in data:
|
||||
data[decimals] = []
|
||||
data[decimals].append({'lang': language, 'time': time, 'mem': memory})
|
||||
|
||||
# Print summary for 100 decimals
|
||||
if '100' in data:
|
||||
print("=== 100 decimals ===")
|
||||
for entry in data['100'][:15]:
|
||||
print(f"{entry['lang']}: {entry['time']}ms, {entry['mem']}")
|
||||
Reference in New Issue
Block a user