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

Method run

src/executor/valgrind/executor.rs:77–91  ·  view source on GitHub ↗
(
        &mut self,
        execution_context: &ExecutionContext,
        mongo_tracer: &Option<MongoTracer>,
    )

Source from the content-addressed store, hash-verified

75 }
76
77 async fn run(
78 &mut self,
79 execution_context: &ExecutionContext,
80 mongo_tracer: &Option<MongoTracer>,
81 ) -> Result<()> {
82 //TODO: add valgrind version check
83 measure::measure(
84 &execution_context.config,
85 &execution_context.profile_folder,
86 mongo_tracer,
87 )
88 .await?;
89
90 Ok(())
91 }
92
93 async fn teardown(&self, execution_context: &ExecutionContext) -> Result<()> {
94 harvest_perf_maps(&execution_context.profile_folder).await?;

Callers

nothing calls this directly

Calls 1

measureFunction · 0.85

Tested by

no test coverage detected