Module schema
Expand description
Speedscope JSON format types for profile generation.
This module provides Rust types that serialize to the speedscope file format. See: https://github.com/jlfwong/speedscope/wiki/Importing-from-custom-sources
The format supports two profile types:
- Evented: Open/close frame events with timestamps (like function calls)
- Sampled: Periodic stack samples with weights
Structs§
- Event
- A frame open or close event in an evented profile.
- Evented
Profile - An event-based profile where function calls are explicit open/close events.
- Frame
- A stack frame definition.
- Sampled
Profile - A sample-based profile with periodic stack snapshots.
- Shared
- Shared data between profiles, primarily frame definitions.
- Speedscope
File - Root container for a speedscope profile file.
Enums§
- Event
Type - Type of frame event.
- Profile
- A profile within a speedscope file.
- Value
Unit - Units for profile values.
Constants§
- SCHEMA
- The speedscope JSON schema URL.