mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 07:05:59 +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