B:BD[
2.951] → [
2.951:1026]
B:BD[
2.1026] → [
2.1026:1142]
B:BD[
2.1142] → [
2.1142:1387]
B:BD[
2.1387] → [
2.1387:1396]
// var job: usize = 0;
// while (job < BENCH_ITEMS) : (job += 1) {
// const key = rnd.intRangeAtMostBiased(BENCH_KEY, std.math.minInt(BENCH_KEY), std.math.maxInt(BENCH_KEY));
// // frames[job] = async testInsert(&sl, key, {});
// // batch.add(&frames[job]);
// const frame = async testInsert(&sl, key, {});
// frames.appendAssumeCapacity(frame);
// batch.add(&frames.items[job]);
// }
var job: usize = 0;
while (job < BENCH_ITEMS) : (job += 1) {
const key = rnd.intRangeAtMostBiased(
BENCH_KEY,
std.math.minInt(BENCH_KEY),
std.math.maxInt(BENCH_KEY),
);
// frames[job] = async testInsert(&sl, key, {});
// batch.add(&frames[job]);
const frame = async testInsert(&sl, key, {});
frames.appendAssumeCapacity(frame);
batch.add(&frames.items[job]);
}