Add flame graph visualization

This commit is contained in:
Riyyi
2026-11-14 22:11:49 +01:00
parent e7966cac80
commit 48fe768689
5 changed files with 684 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
cd arena-flame-graph || ( echo "failed to cd"; exit 1 )
if command -v python3 >/dev/null 2>&1; then
PYTHON=python3
elif command -v python >/dev/null 2>&1; then
PYTHON=python
else
echo "error: Python not found" >&2
exit 1
fi
$PYTHON -m http.server