MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / track_binary

Function track_binary

crates/memtrack/tests/shared.rs:182–184  ·  view source on GitHub ↗

Track a binary, collecting all memory events.

(binary: &Path)

Source from the content-addressed store, hash-verified

180
181/// Track a binary, collecting all memory events.
182pub fn track_binary(binary: &Path) -> TrackResult {
183 track_command(Command::new(binary), None)
184}
185
186pub fn track_binary_with_env(binary: &Path) -> TrackResult {
187 track_command_with_tracker(Command::new(binary), Tracker::new()?)

Callers

nothing calls this directly

Calls 1

track_commandFunction · 0.70

Tested by

no test coverage detected