perf(bench): downsample time series charts with LTTB#2831
Merged
Conversation
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.
mmodzelewski
approved these changes
Feb 27, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
krishvishal
approved these changes
Feb 27, 2026
spetz
approved these changes
Feb 27, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.