Skip to content

perf(bench): downsample time series charts with LTTB#2831

Merged
spetz merged 1 commit intomasterfrom
bench-dashboard-downsampling
Feb 27, 2026
Merged

perf(bench): downsample time series charts with LTTB#2831
spetz merged 1 commit intomasterfrom
bench-dashboard-downsampling

Conversation

@hubcio
Copy link
Contributor

@hubcio hubcio commented Feb 27, 2026

ECharts becomes sluggish rendering 100k+ data points,
common with multi-series 10-minute benchmarks at 10ms
sampling. LTTB (Largest-Triangle-Three-Buckets) reduces
each series to 3000 points at the chart boundary while
preserving visual shape -- peaks, valleys, and trends.

Full-resolution data remains in report.json; only the
charming conversion path is downsampled. The latency
distribution chart (50 pre-computed bins) is unaffected.

ECharts becomes sluggish rendering 100k+ data points,
common with multi-series 10-minute benchmarks at 10ms
sampling. LTTB (Largest-Triangle-Three-Buckets) reduces
each series to 3000 points at the chart boundary while
preserving visual shape -- peaks, valleys, and trends.

Full-resolution data remains in report.json; only the
charming conversion path is downsampled. The latency
distribution chart (50 pre-computed bins) is unaffected.
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.64%. Comparing base (3432714) to head (e08e5a1).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2831      +/-   ##
============================================
+ Coverage     67.58%   67.64%   +0.06%     
  Complexity      708      708              
============================================
  Files          1027     1030       +3     
  Lines         83147    83846     +699     
  Branches      60004    60712     +708     
============================================
+ Hits          56195    56718     +523     
- Misses        24612    24771     +159     
- Partials       2340     2357      +17     
Flag Coverage Δ
csharp 67.06% <ø> (-0.19%) ⬇️
go 6.84% <ø> (ø)
java 54.02% <ø> (ø)
node 92.18% <ø> (-0.15%) ⬇️
python 0.00% <ø> (ø)
rust 69.70% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 16 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@spetz spetz merged commit 1ca37f1 into master Feb 27, 2026
71 checks passed
@spetz spetz deleted the bench-dashboard-downsampling branch February 27, 2026 19:09
kriti-sc pushed a commit to kriti-sc/iggy that referenced this pull request Mar 6, 2026
ECharts becomes sluggish rendering 100k+ data points,
common with multi-series 10-minute benchmarks at 10ms
sampling. LTTB (Largest-Triangle-Three-Buckets) reduces
each series to 3000 points at the chart boundary while
preserving visual shape -- peaks, valleys, and trends.

Full-resolution data remains in report.json; only the
charming conversion path is downsampled. The latency
distribution chart (50 pre-computed bins) is unaffected.
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.

4 participants