(&mut self)
| 137 | } |
| 138 | |
| 139 | fn empty_transaction(&mut self) -> ResultBench<()> { |
| 140 | let SpacetimeModule { runtime, module, .. } = self; |
| 141 | |
| 142 | runtime.block_on(async move { |
| 143 | module.call_reducer_binary("empty", &[].into()).await?; |
| 144 | Ok(()) |
| 145 | }) |
| 146 | } |
| 147 | |
| 148 | fn insert_bulk<T: BenchTable>(&mut self, table_id: &Self::TableId, rows: Vec<T>) -> ResultBench<()> { |
| 149 | let rows = rows.into_iter().map(|row| row.into_product_value()).collect(); |
nothing calls this directly
no test coverage detected