-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow py-spy profiling for geospatial benchmarks (#1572)
- Loading branch information
1 parent
d1d776b
commit fb33a0c
Showing
4 changed files
with
151 additions
and
42 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
alembic/versions/aa1fc9fdc665_add_column_for_py_spy_profiles_url.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
"""Add column for py-spy profiles url | ||
Revision ID: aa1fc9fdc665 | ||
Revises: 1095dfdfc4ae | ||
Create Date: 2024-10-23 16:11:24.794416 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = 'aa1fc9fdc665' | ||
down_revision = '1095dfdfc4ae' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.add_column('test_run', sa.Column('py_spy_profiles_url', sa.String(), nullable=True)) | ||
|
||
|
||
def downgrade() -> None: | ||
op.drop_column("test_run", "py_spy_profiles_url") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters