9 lines
182 B
Python
9 lines
182 B
Python
|
import sys, os
|
||
|
import snakeviz
|
||
|
|
||
|
from snakeviz.cli import main
|
||
|
|
||
|
profile = os.path.join(os.environ["BUILD_WORKSPACE_DIRECTORY"], "anki.prof")
|
||
|
sys.argv.append(profile)
|
||
|
sys.exit(main())
|