Skip to content

Commit

Permalink
Merge pull request #1963 from tigerbeetle/matklad/p100
Browse files Browse the repository at this point in the history
devhub: track p100 rather than p99
  • Loading branch information
matklad committed May 17, 2024
2 parents abca5bf + 512f852 commit 5eac76d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/scripts/devhub.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand All @@ -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" },
},
Expand Down

0 comments on commit 5eac76d

Please sign in to comment.