Skip to content

feat(perf-issues): Add performance issue detection timing runner command - #44912

Merged
gggritso merged 3 commits into
masterfrom
ggg/performance-detection-timing
Feb 28, 2023
Merged

feat(perf-issues): Add performance issue detection timing runner command#44912
gggritso merged 3 commits into
masterfrom
ggg/performance-detection-timing

Conversation

@gggritso

@gggritsogggritso commented Feb 21, 2023

Copy link
Copy Markdown
Member

I used this locally to get a quick sense of how the N+1 API Calls detector performance with adversarial (very many spans, very many parameters) transactions. Confirmed the time complexity is linear with respect to span count. Pretty handy, and I think it'll be useful in the future

sentry performance timeit -d NPlusOneAPICallsDetector -n 100 ~/Desktop/33d9c5820fda4dd9885c6be75a6f0718.json
Running timeit 100 times on NPlusOneAPICallsDetector
Average runtime: 8.410331249999999 ms

This breaks registration if more than one command is attached to that
command group. Only the group should be registered, not the subcommands.
@github-actionsgithub-actionsBot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 21, 2023
@gggritso
gggritso marked this pull request as ready for review February 27, 2023 14:08
@gggritso
gggritso requested a review from a teamFebruary 28, 2023 14:49
@gggritso
gggritso merged commit 7fe102e into masterFeb 28, 2023
@gggritso
gggritso deleted the ggg/performance-detection-timing branch February 28, 2023 16:39
jan-auer added a commit that referenced this pull request Feb 28, 2023
* master: (79 commits)
feat(perf-issues): Add performance issue detection timing runner command (#44912)
Revert "chore: Investigating org slug already set to a different value (#45134)"
fix(hybrid-cloud): Redirect to org restoration page for customer domains (#45159)
bug(replays): Fix 500 error when marshaling tags field (#45097)
ref(sourcemaps): Redesign lookup of source and sourcemaps (#45032)
chore: Investigating org slug already set to a different value (#45134)
feat(dynamic-sampling): Implement prioritize by project bias [TET-574] (#42939)
feat(dynamic-sampling): Add transaction name prioritize option - (#45034)
feat(dyn-sampling): add new bias toggle to project details for prioritise by tx name [TET-717] (#44944)
feat(admin) Add admin relay project config view [TET-509] (#45120)
Revert "chore(assignment): Add analytics when autoassigning after a manual assignment (#45099)"
feat(sourcemaps): Implement new tables supporting debug ids (#44572)
ref(js): Remove usage of react-document-title (#45170)
chore(py): Consistently name urls using `organization-` prefix (#45180)
ref: rename acceptance required checks collector (#45156)
chore(assignment): Add analytics when autoassigning after a manual assignment (#45099)
feat(source-maps): Update copy for source map debug alerts (#45164)
ref(js): Remove custom usage of DocumentTitle (#45165)
chore(login): update the login banners (#45151)
ref(py): Remove one more legacy project_id from Environment (#45160)
...
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Mar 16, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: BackendAutomatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gggritso@udameli