martensite-devtools 0.7.0

Tracing spans, Tracy/Chrome GPU timestamps, and in-app F12 developer HUD.
Documentation

martensite-devtools

Crates.io Documentation License

Telemetry spans, Tracy/Chrome GPU profiling timestamps, and in-app F12 developer diagnostics HUD for Martensite.


Overview

martensite-devtools provides real-time performance inspection, telemetry instrumentation, and visual diagnostics for the Martensite GUI framework.

When developing complex interfaces with high-density data visualizations, debugging frame drops and layout re-calculations requires deep insight into the rendering pipeline. martensite-devtools provides structured tracing spans across all subsystems (arena mutations, reactive propagation, Taffy layout passes, text shaping, and Vello GPU command recording), alongside an interactive in-app HUD toggled via F12.

The entire crate is built under #![forbid(unsafe_code)].


Key Features

  • In-App Developer HUD (F12): Overlays live frame timing graphs, 99th percentile frame latency counters, and active draw-call counts directly onto the running window.
  • Scenegraph & Arena Inspector: Real-time visualization of active HotNode count, allocated slot capacity, and dirty bitset states across the generational WidgetArena.
  • Reactive Graph Telemetry: Tracks signal-to-memo dependency edges, detecting unnecessary cascade recalculations and scheduling bottlenecks.
  • Profiling Exporters: Seamless export of GPU compute timestamps to Tracy and Chrome Tracing (about:tracing) format.
  • 100% Safe Rust: #![forbid(unsafe_code)] enforced.

Part of Martensite

This crate provides developer tooling and telemetry for the Martensite GUI framework. For top-level widgets and application integration, see martensite.


License

Licensed under either of:

at your option.