mirror of
https://github.com/romanz/amodem.git
synced 2026-04-05 12:16:24 +08:00
replace profiling script with context manager
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
python -m cProfile -o result.prof $*
|
||||
|
||||
echo "sort time
|
||||
stats 20" | python -m pstats result.prof 1>&2
|
||||
Reference in New Issue
Block a user