Skip to content

Add log config to measure benchmark - #842

Merged
pawurb merged 1 commit into
mainfrom
develop
Nov 22, 2026
Merged

pawurb merged 1 commit into
mainfrom
develop

Conversation

@pawurb

@pawurb pawurb commented Nov 22, 2026

Copy link
Copy Markdown
Member

Description

Checklist

  • I mirrored all the changes in this PR to the meta crates (optionally using the syncmeta agent skill)

@hotpath-rs

hotpath-rs Bot commented Nov 22, 2026

Copy link
Copy Markdown

drain-criterion · ✅ no regressions

75fbc53 (develop) vs a27e133 (main)
Wall time 233.56 ms → 219.19 ms -6.15%
Instructions 2,116,651,329 → 2,116,975,744 +0.02%
Allocated 11.6 MB → 11.6 MB 0.00% · max RSS 932.4 MB → 851.1 MB -8.71%

✨ Everything looks good - all monitored metrics and budgets are within policy limits.

Full diff ↗ · PR history ↗ · Policy ↗

🦀☁️ hotpath-cloud

@hotpath-rs

hotpath-rs Bot commented Nov 22, 2026

Copy link
Copy Markdown

drain · ✅ no regressions

75fbc53 (develop) vs a27e133 (main)
Wall time 81.97 ms → 75.22 ms -8.24%
Instructions 427,043,555 → 426,901,149 -0.03%
Allocated 2.3 MB → 2.3 MB 0.00% · max RSS 125.2 MB → 132.1 MB +5.48%

✨ Everything looks good - all monitored metrics and budgets are within policy limits.

Full diff ↗ · PR history ↗ · Policy ↗

🦀☁️ hotpath-cloud

@hotpath-rs

hotpath-rs Bot commented Nov 22, 2026

Copy link
Copy Markdown

measure · ⚠️ 1 regression, 🚀 3 improvements, ➕ 5 new

75fbc53 (develop) vs a27e133 (main)
Wall time 613.72 ms → 766.68 ms +24.92%
Instructions 3,296,795,059 → 3,546,702,240 +7.58%
Allocated 120.0 MB → 120.6 MB +0.44% · max RSS 1.1 GB → 1.1 GB +4.99%

Functions · icount
⚠️ benchmark_measure::drive_free_fn: avg 251,061,425 → 480,322,165 +91.32%, total +91.32%
🚀 hotpath::lib_on::functions::build_measurement_guard_sync: total 1,307,254,331 → 1,162,044,902 -11.11%
🚀 hotpath::lib_on::functions::timing::guard::MeasurementGuard::new_caller_scoped: total 528,451,771 → 469,746,966 -11.11%
🚀 hotpath::lib_on::functions::timing::guard::MeasurementGuard::build: total 137,800,417 → 123,900,417 -10.09%
➕ hotpath::lib_on::functions::measure_sync_log: new, 10.98% of total
➕ hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::finish_with_result: new, 4.50% of total
➕ hotpath::lib_on::functions::build_measurement_guard_sync_with_log: new, 4.03% of total
➕ hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::new_caller_scoped: new, 1.61% of total
➕ hotpath::output_on::format_debug_truncated: new, 1.50% of total

Functions · allocations
➕ hotpath::output_on::format_debug_truncated: new, 5.06% of total

Full diff ↗ · PR history ↗ · Policy ↗

Related metrics

icount
icount Calls Avg Total % Total
benchmark_measure::drive_free_fn 1 → 1 251,061,425 → 480,322,165 +91.32% 251,061,425 → 480,322,165 +91.32% 7.62% → 13.54%
hotpath::lib_on::functions::build_measurement_guard_sync 900,003 → 800,003 -11.11% 1,453 → 1,453 1,307,254,331 → 1,162,044,902 -11.11% 39.65% → 32.76%
hotpath::lib_on::functions::timing::guard::MeasurementGuard::new_caller_scoped 900,003 → 800,003 -11.11% 587.17 → 587.18 528,451,771 → 469,746,966 -11.11% 16.03% → 13.24%
hotpath::lib_on::functions::timing::guard::MeasurementGuard::build 1,000,003 → 900,003 -10.00% 137.80 → 137.67 -0.09% 137,800,417 → 123,900,417 -10.09% 4.18% → 3.49%
hotpath::lib_on::functions::measure_sync_log - → 100,000 - → 3,894 - → 389,408,863 - → 10.98%
hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::finish_with_result - → 100,000 - → 1,595 - → 159,497,643 - → 4.50%
hotpath::lib_on::functions::build_measurement_guard_sync_with_log - → 100,000 - → 1,431 - → 143,103,482 - → 4.03%
hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::new_caller_scoped - → 100,000 - → 572.02 - → 57,201,735 - → 1.61%
hotpath::output_on::format_debug_truncated - → 100,000 - → 531.73 - → 53,172,844 - → 1.50%
Allocations
Allocations Calls Avg P95 P99 P99.9 Total % Total
benchmark_measure::drive_free_fn 1 → 1 26 B → 26 B 26 B → 26 B 26 B → 26 B 26 B → 26 B 26 B → 26 B 0.00% → 0.00%
hotpath::lib_on::functions::build_measurement_guard_sync 900,003 → 800,003 -11.11% 0 B → 0 B 0 B → 0 B 0 B → 0 B 0 B → 0 B 0 B → 0 B 0.00% → 0.00%
hotpath::lib_on::functions::timing::guard::MeasurementGuard::new_caller_scoped 900,003 → 800,003 -11.11% 0 B → 0 B 0 B → 0 B 0 B → 0 B 0 B → 0 B 0 B → 0 B 0.00% → 0.00%
hotpath::lib_on::functions::timing::guard::MeasurementGuard::build 1,000,003 → 900,003 -10.00% 0 B → 0 B 0 B → 0 B 0 B → 0 B 0 B → 0 B 0 B → 0 B 0.00% → 0.00%
hotpath::lib_on::functions::measure_sync_log - → 100,000 - → 0 B - → 0 B - → 0 B - → 0 B - → 0 B - → 0.00%
hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::finish_with_result - → 100,000 - → 0 B - → 0 B - → 0 B - → 0 B - → 0 B - → 0.00%
hotpath::lib_on::functions::build_measurement_guard_sync_with_log - → 100,000 - → 0 B - → 0 B - → 0 B - → 0 B - → 0 B - → 0.00%
hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::new_caller_scoped - → 100,000 - → 0 B - → 0 B - → 0 B - → 0 B - → 0 B - → 0.00%
hotpath::output_on::format_debug_truncated - → 100,000 - → 64 B - → 64 B - → 64 B - → 64 B - → 6.1 MB - → 5.06%
Timing
Timing Calls Avg P95 P99 P99.9 Total % Total
benchmark_measure::drive_free_fn 1 → 1 55.27 ms → 130.45 ms +136.01% 55.28 ms → 130.48 ms +136.04% 55.28 ms → 130.48 ms +136.04% 55.28 ms → 130.48 ms +136.04% 55.27 ms → 130.45 ms +136.01% 4.73% → 8.29%
hotpath::lib_on::functions::build_measurement_guard_sync 900,003 → 800,003 -11.11% 335 ns → 388 ns +15.82% 1.44 µs → 1.80 µs +24.86% 1.93 µs → 3.00 µs +55.53% 3.83 µs → 7.17 µs +87.58% 302.29 ms → 310.79 ms +2.81% 25.85% → 19.75%
hotpath::lib_on::functions::timing::guard::MeasurementGuard::new_caller_scoped 900,003 → 800,003 -11.11% 138 ns → 155 ns +12.32% 174 ns → 171 ns -1.72% 1.44 µs → 1.74 µs +21.13% 3.24 µs → 5.15 µs +58.83% 124.34 ms → 124.41 ms +0.05% 10.63% → 7.91%
hotpath::lib_on::functions::timing::guard::MeasurementGuard::build 1,000,003 → 900,003 -10.00% 37 ns → 40 ns +8.11% 59 ns → 60 ns +1.69% 62 ns → 70 ns +12.90% 79 ns → 90 ns +13.92% 38.00 ms → 36.69 ms -3.44% 3.25% → 2.33%
hotpath::lib_on::functions::measure_sync_log - → 100,000 - → 1.14 µs - → 3.39 µs - → 7.08 µs - → 15.20 µs - → 113.61 ms - → 7.22%
hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::finish_with_result - → 100,000 - → 675 ns - → 2.17 µs - → 6.40 µs - → 14.24 µs - → 67.58 ms - → 4.29%
hotpath::lib_on::functions::build_measurement_guard_sync_with_log - → 100,000 - → 305 ns - → 390 ns - → 2.01 µs - → 5.26 µs - → 30.56 ms - → 1.94%
hotpath::lib_on::functions::timing::guard::MeasurementGuardWithLog::new_caller_scoped - → 100,000 - → 123 ns - → 160 ns - → 1.77 µs - → 2.70 µs - → 12.35 ms - → 0.79%
hotpath::output_on::format_debug_truncated - → 100,000 - → 119 ns - → 130 ns - → 1.76 µs - → 5.41 µs - → 11.91 ms - → 0.76%

🦀☁️ hotpath-cloud

@hotpath-rs

hotpath-rs Bot commented Nov 22, 2026

Copy link
Copy Markdown

meta · ✅ no regressions

75fbc53 (develop) vs a27e133 (main)
Wall time 1.69 s → 1.90 s +12.73%
Instructions 14,460,910,787 → 13,893,701,372 -3.92%
Allocated 563.5 MB → 482.8 MB -14.31% · max RSS 1.8 GB → 1.8 GB -2.88%

✨ Everything looks good - all monitored metrics and budgets are within policy limits.

Full diff ↗ · PR history ↗ · Policy ↗

🦀☁️ hotpath-cloud

@pawurb
pawurb merged commit 75fbc53 into main Nov 22, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant