diff --git a/.github/workflows/django-overhead-profile.yml b/.github/workflows/django-overhead-profile.yml deleted file mode 100644 index e53d9aa916a..00000000000 --- a/.github/workflows/django-overhead-profile.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: django-overhead-profile -on: - push: - branches: - - main - - mq-working-branch-* - merge_group: - pull_request: - paths: - - 'ddtrace/**' - - 'scripts/profiles/django-simple/**' - - '.github/workflows/django-overhead-profile.yml' - -jobs: - django-overhead-profile: - runs-on: ubuntu-latest - env: - PREFIX: ${{ github.workspace }}/prefix - DD_CODE_ORIGIN_FOR_SPANS_ENABLED: "1" - DD_PROFILING_ENABLED: "1" - DD_PROFILING_OUTPUT_PPROF: ${{ github.workspace }}/prefix/artifacts/ddtrace_profile - DD_EXCEPTION_REPLAY_ENABLED: "1" - defaults: - run: - working-directory: ddtrace - steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - with: - persist-credentials: false - path: ddtrace - - - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 - with: - python-version: "3.10" - - - name: Setup - run: | - bash scripts/profiles/django-simple/setup.sh ${PREFIX} - - - name: Run - run: | - bash scripts/profiles/django-simple/run.sh ${PREFIX} - - - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 - with: - name: django-overhead-profile - path: ${{ github.workspace }}/prefix/artifacts diff --git a/.github/workflows/encoders-profile.yml b/.github/workflows/encoders-profile.yml deleted file mode 100644 index 884719dc4e2..00000000000 --- a/.github/workflows/encoders-profile.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: encoders-profile -on: - push: - branches: - - main - - mq-working-branch-* - merge_group: - pull_request: - paths: - - 'ddtrace/internal/_encoding.pyx' - - 'scripts/profiles/encoders/**' - - '.github/workflows/encoders-profile.yml' - -jobs: - encoders-profile: - runs-on: ubuntu-latest - env: - PREFIX: ${{ github.workspace }}/prefix - defaults: - run: - working-directory: ddtrace - steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - with: - persist-credentials: false - path: ddtrace - - - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 - with: - python-version: "3.10" - - - name: Setup - run: | - bash scripts/profiles/encoders/setup.sh ${PREFIX} - - - name: Run - run: | - bash scripts/profiles/encoders/run.sh ${PREFIX} - for a in `ls ${PREFIX}/artifacts` - do - sed -i 's|${{ github.workspace }}/ddtrace/||g' ${PREFIX}/artifacts/$a - done - - - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 - with: - name: encoders-profile - path: ${{ github.workspace }}/prefix/artifacts diff --git a/.github/workflows/flask-overhead-profile.yml b/.github/workflows/flask-overhead-profile.yml deleted file mode 100644 index d34fff2a338..00000000000 --- a/.github/workflows/flask-overhead-profile.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: flask-overhead-profile -on: - push: - branches: - - main - - mq-working-branch-* - merge_group: - pull_request: - paths: - - 'ddtrace/**' - - 'scripts/profiles/flask-simple/**' - - '.github/workflows/flask-overhead-profile.yml' - -jobs: - flask-overhead-profile: - runs-on: ubuntu-latest - env: - PREFIX: ${{ github.workspace }}/prefix - defaults: - run: - working-directory: ddtrace - steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - with: - persist-credentials: false - path: ddtrace - - - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 - with: - python-version: "3.10" - - - name: Setup - run: | - bash scripts/profiles/flask-simple/setup.sh ${PREFIX} - - - name: Run - run: | - bash scripts/profiles/flask-simple/run.sh ${PREFIX} - - - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 - with: - name: flask-overhead-profile - path: ${{ github.workspace }}/prefix/artifacts diff --git a/scripts/profiles/encoders/run.sh b/scripts/profiles/encoders/run.sh index c8bc19cd8aa..66372281fe6 100755 --- a/scripts/profiles/encoders/run.sh +++ b/scripts/profiles/encoders/run.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash -eu +#!/usr/bin/bash set -eu diff --git a/scripts/profiles/encoders/setup.sh b/scripts/profiles/encoders/setup.sh index df3961d00ed..db4f01c8d2d 100755 --- a/scripts/profiles/encoders/setup.sh +++ b/scripts/profiles/encoders/setup.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash -eu +#!/usr/bin/bash set -eu