mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
12 lines
316 B
Python
Executable file
12 lines
316 B
Python
Executable file
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import os
|
|
import sys
|
|
|
|
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())
|