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

Method write

crates/runner-shared/src/telemetry/mod.rs:176–181  ·  view source on GitHub ↗
(&mut self, rows: impl IntoIterator<Item = R>)

Source from the content-addressed store, hash-verified

174 }
175
176 pub fn write(&mut self, rows: impl IntoIterator<Item = R>) -> anyhow::Result<()> {
177 for row in rows {
178 R::Record::from(row).serialize(&mut self.serializer)?;
179 }
180 Ok(())
181 }
182
183 pub fn close(self) -> anyhow::Result<()> {
184 let encoder = self

Callers 3

acquireMethod · 0.45
bench_writeFunction · 0.45
writeFunction · 0.45

Calls

no outgoing calls

Tested by 1

writeFunction · 0.36