Repository navigation
Config-driven profiler startup (#332) + Workbench evolutions - #359
Merged
Merged
Conversation
- Fix SSE keepalive PeriodicTimer crash (re-issuing WaitForNextTickAsync per loop threw InvalidOperationException) - Suppress disconnect log spam - Logs tab unseen-activity badge wb-dev.ps1 watch-kestrel/watch-vite foreground modes with -LogLevel override.
Profiler header - TimeArea — Display options popover: new settings icon holding span-colour lens, off-CPU overlay toggle, and dynamic track height (split out of the filter funnel). - TimeArea — section filter popover: stripped down to pure section visibility (color/off-CPU moved out). - TimeArea — help button: new ? icon (shown only when legends are on) opening a full how-to-use dialog modelled on the Critical Path one. - Recent pane — relative age: adaptive scale (just now / minutes / hours / days / months) instead of days-only.
5 tasks
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.
Batch of small evolutions & fixes (
feature/small-evols-fixes).#332 — Implicit, config-driven profiler startup
Closes #332. Profiler integration becomes zero host code — the runtime self-wires it from configuration.
ProfilerSessionMetadataBuilder(engine-internal) replaces the host glueProfilerSetup.BuildSessionMetadata(deleted). Session metadata — systems, worker count, tick rate, ring capacity, static-structure tables, resource graph — is derived entirely fromTyphonRuntime+runtime.Options.RuntimeConfigRecordis fully populated (no hardcoded16/60f, no0stubs).ProfilerBootstrapself-wires the profiler atTyphonRuntime.Create; a[ModuleInitializer]bakes the JIT producer gate before hot paths compile.TelemetryConfigresolves the launch config fromtyphon.telemetry.json+TYPHON__PROFILER__*env vars. A host that wants a CLI override (--trace/--live) parses its own args and injects via the newservices.AddTyphonProfiler(...)DI hook — the engine never reads the command line implicitly.ManagedPagedMMF.DisposingEvent— deterministic on every host (incl. Godot) and after the engine's shutdown teardown, so those events land in the trace and the file is always properly closed.TyphonProfiler.Start(parent, metadata)is nowinternal(kept forIOProfileRunner+ exporter integration tests, which have noTyphonRuntime).ProfilerSetup.csdeleted;AntHill.Demo/Main.cs+AntHill.Harness/Program.csreduced to plainbridge.Initialize(...).ProfilerSessionMetadataBuilderTests, rewrittenProfilerLaunchConfigTests. Full engine suite green (3733 passed).Deviations from the issue spec (no public
Start(runtime, options)overload — superseded by self-wiring; oldStartmadeinternalnot removed; CPU-sampling QPC handled internally) are detailed in the issue's completion comment.Workbench evolutions
?how-to-use dialog, and adaptive relative-age formatting in the Recent pane.WaitForNextTickAsyncper loop iteration threwInvalidOperationException; disconnect log spam suppressed; Logs tab unseen-activity badge.wb-dev.ps1—watch-kestrel/watch-viteforeground modes with-LogLeveloverride.Follow-ups (minor, not blocking)
Code-review items carried forward:
ProfilerBootstrap.csnamespace casedTyphon.Engine.internalsvs the conventionInternals; deadTelemetryConfig.Configurationfield; orphanedProfilerLauncher.EnableTelemetryGateIfActive/PrintDiagnostics.🤖 Generated with Claude Code