mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 07:05:59 +08:00
add simple profiling script
This commit is contained in:
5
profile.sh
Executable file
5
profile.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
python -m cProfile -o result.prof $*
|
||||
|
||||
echo "sort time
|
||||
stats 20" | python -m pstats result.prof
|
||||
Reference in New Issue
Block a user