mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
8 lines
182 B
Python
Executable file
8 lines
182 B
Python
Executable file
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())
|