Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.2k
gh-138122: Add differential flame graph#145785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
65528db2d977006e642e437289cbedaac9fc2203d6afe2f4ec0d937f080d2c8440d333f4928b95556396d515f73f753071File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -5,6 +5,46 @@ | ||
| This file extends the shared foundation with flamegraph-specific styles. | ||
| ========================================================================== */ | ||
| /* -------------------------------------------------------------------------- | ||
| Differential Flamegraph | ||
| -------------------------------------------------------------------------- */ | ||
| :root { | ||
| /* Regression colors */ | ||
| --diff-regression-deep: #d32f2f; | ||
| --diff-regression-medium: #e57373; | ||
| --diff-regression-light: #ef9a9a; | ||
| --diff-regression-verylight: #ffcdd2; | ||
| /* Improvement colors */ | ||
| --diff-improvement-deep: #1976d2; | ||
| --diff-improvement-medium: #42a5f5; | ||
| --diff-improvement-light: #64b5f6; | ||
| --diff-improvement-verylight: #90caf9; | ||
| /* Other differential colors */ | ||
| --diff-neutral: #bdbdbd; | ||
| --diff-new: #9575cd; | ||
| --diff-elided: #b39ddb; | ||
| } | ||
| /* Dark mode differential colors - adjusted for contrast against dark backgrounds */ | ||
| [data-theme="dark"] { | ||
| --diff-regression-deep: #ef5350; | ||
| --diff-regression-medium: #e57373; | ||
| --diff-regression-light: #ef9a9a; | ||
| --diff-regression-verylight: #ffcdd2; | ||
| --diff-improvement-deep: #42a5f5; | ||
| --diff-improvement-medium: #64b5f6; | ||
| --diff-improvement-light: #90caf9; | ||
| --diff-improvement-verylight: #bbdefb; | ||
| --diff-neutral: #757575; | ||
| --diff-new: #b39ddb; | ||
| --diff-elided: #ce93d8; | ||
| } | ||
| /* -------------------------------------------------------------------------- | ||
| Layout Overrides (Flamegraph-specific) | ||
| -------------------------------------------------------------------------- */ | ||
| @@ -277,7 +317,9 @@ body.resizing-sidebar { | ||
| /* View Mode Section */ | ||
| .view-mode-section .section-content { | ||
| display: flex; | ||
| justify-content: center; | ||
| flex-direction: column; | ||
| gap: 10px; | ||
| align-items: center; | ||
| } | ||
| /* Collapsible sections */ | ||
| @@ -815,6 +857,41 @@ body.resizing-sidebar { | ||
| color: var(--accent); | ||
| } | ||
| .tooltip-diff { | ||
| margin-top: 12px; | ||
| padding-top: 12px; | ||
| border-top: 1px solid var(--border); | ||
| } | ||
| .tooltip-diff-title { | ||
| font-size: 11px; | ||
| font-weight: 600; | ||
| color: var(--accent); | ||
| margin-bottom: 8px; | ||
| } | ||
| .tooltip-diff-row { | ||
| display: grid; | ||
| grid-template-columns: auto 1fr; | ||
| gap: 4px 14px; | ||
| font-size: 12px; | ||
| margin-bottom: 4px; | ||
| } | ||
| .tooltip-diff-row.regression .tooltip-stat-value { | ||
ivonastojanovic marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| color: var(--diff-regression-deep); | ||
| font-weight: 700; | ||
| } | ||
| .tooltip-diff-row.improvement .tooltip-stat-value { | ||
| color: var(--diff-improvement-deep); | ||
| font-weight: 700; | ||
| } | ||
| .tooltip-diff-row.neutral .tooltip-stat-value { | ||
| color: var(--text-secondary); | ||
| } | ||
| .tooltip-source { | ||
| margin-top: 10px; | ||
| padding-top: 10px; | ||
| @@ -989,7 +1066,8 @@ body.resizing-sidebar { | ||
| Flamegraph-Specific Toggle Override | ||
| -------------------------------------------------------------------------- */ | ||
| #toggle-invert .toggle-track.on { | ||
| #toggle-invert .toggle-track.on, | ||
| #toggle-elided .toggle-track.on { | ||
| background: #8e44ad; | ||
| border-color: #8e44ad; | ||
| box-shadow: 0 0 8px rgba(142, 68, 173, 0.3); | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.