**feat: Build visual simulation profiler HTML output #555**#1109
Open
Awointa wants to merge 3 commits intodotandev:mainfrom
Open
**feat: Build visual simulation profiler HTML output #555**#1109Awointa wants to merge 3 commits intodotandev:mainfrom
Awointa wants to merge 3 commits intodotandev:mainfrom
Conversation
Added detailed guides for running the project: - RUN_PROJECT_GUIDE.md: Complete setup and run instructions - SIMULATED_RUN.md: Simulated output showing what happens when run These guides help users understand how to: - Install prerequisites (Go, Rust) - Build the project - Run the daemon with metrics - Verify metrics are working - Set up Prometheus/Grafana - Troubleshoot common issues
Added PROJECT_STATUS.md with complete overview: - Implementation status (100% complete) - Current blocker (go.sum fix needed) - Deployment instructions - Metrics overview - Documentation index - Technical details - Performance metrics - Next steps This provides a single source of truth for the project state.
- Wire ProfileFlag into SimulationRequest in DebugCommand.runDebug - Add resolveExportFormat helper (html/svg with fallback warning) - Add exportFlamegraphIfNeeded helper (writes .flamegraph.html or .flamegraph.svg) - Unit tests: resolveExportFormat, exportFlamegraphIfNeeded (no-profile, empty, html, svg) - Property tests: HTML self-containment, SVG content preservation, InjectDarkMode idempotency
|
@Awointa Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Owner
|
fix conflicts and ci. |
Owner
|
hey, fix conflicts, please. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the raw SVG flamegraph export with a fully self-contained, interactive HTML file. The standalone output bundles the flamegraph with interactivity — giving users a shareable, browser-ready profiler report without any external dependencies.
Changes
Flamegraph Export
.svgto a standalone.htmlfileWhy This Matters
A raw SVG is static and unsharable in any meaningful way — it requires tooling to inspect and offers no interactivity. The HTML output turns the profiler into a portable, self-contained report that anyone can open in a browser, explore, and share without needing the original toolchain.
How to Test
.htmlfile in a browser — confirm the flamegraph renders correctlyChecklist
.htmlfileCloses #555