Skip to content

chore(internal): move rate limiter to PyO3 #38492

chore(internal): move rate limiter to PyO3

chore(internal): move rate limiter to PyO3 #38492

name: django-overhead-profile
on:
push:
branches:
- main
pull_request:
paths:
- 'ddtrace/**'
- 'scripts/profiles/django-simple/**'
jobs:
django-overhead-profile:
runs-on: ubuntu-latest
env:
PREFIX: ${{ github.workspace }}/prefix
defaults:
run:
working-directory: ddtrace
steps:
- uses: actions/checkout@v3
with:
path: ddtrace
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- 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@v3
with:
name: django-overhead-profile
path: ${{ github.workspace }}/prefix/artifacts