Add flame graph visualization
This commit is contained in:
Executable
+14
@@ -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
|
||||
Reference in New Issue
Block a user