From 512f85286b90003050c3ff1ba7c9a4eaba3ef558 Mon Sep 17 00:00:00 2001 From: Alex Kladov Date: Thu, 16 May 2024 17:38:11 +0100 Subject: [PATCH] devhub: track p100 rather than p99 With the level of determinism we have, p100 is a reasonable target! --- src/scripts/devhub.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/devhub.zig b/src/scripts/devhub.zig index 336bfd690f..f629c3508c 100644 --- a/src/scripts/devhub.zig +++ b/src/scripts/devhub.zig @@ -34,8 +34,8 @@ pub fn main(shell: *Shell, gpa: std.mem.Allocator, cli_args: CliArgs) !void { const benchmark_result = try shell.exec_stdout("./tigerbeetle benchmark", .{}); const tps = try get_measurement(benchmark_result, "load accepted", "tx/s"); - const batch_p99_ms = try get_measurement(benchmark_result, "batch latency p99", "ms"); - const query_p99_ms = try get_measurement(benchmark_result, "query latency p99", "ms"); + const batch_p100_ms = try get_measurement(benchmark_result, "batch latency p100", "ms"); + const query_p100_ms = try get_measurement(benchmark_result, "query latency p100", "ms"); const rss_bytes = try get_measurement(benchmark_result, "rss", "bytes"); const datafile_bytes = try get_measurement(benchmark_result, "datafile", "bytes"); @@ -50,8 +50,8 @@ pub fn main(shell: *Shell, gpa: std.mem.Allocator, cli_args: CliArgs) !void { .{ .name = "build time", .value = build_time_ms, .unit = "ms" }, .{ .name = "executable size", .value = executable_size_bytes, .unit = "bytes" }, .{ .name = "TPS", .value = tps, .unit = "count" }, - .{ .name = "batch p99", .value = batch_p99_ms, .unit = "ms" }, - .{ .name = "query p99", .value = query_p99_ms, .unit = "ms" }, + .{ .name = "batch p100", .value = batch_p100_ms, .unit = "ms" }, + .{ .name = "query p100", .value = query_p100_ms, .unit = "ms" }, .{ .name = "RSS", .value = rss_bytes, .unit = "bytes" }, .{ .name = "datafile", .value = datafile_bytes, .unit = "bytes" }, },