Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add benchmark for Table #1408

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

airblast-dev
Copy link
Contributor

It is essentially the same as the List benchmark, the only logic difference being the variable column counts.

@airblast-dev airblast-dev requested a review from a team as a code owner October 7, 2024 10:31
Copy link

github-actions bot commented Oct 7, 2024

🐰 Bencher Report

Branch1408/merge
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
barchart/render/2048📈 view plot
⚠️ NO THRESHOLD
212,640.00
barchart/render/256📈 view plot
⚠️ NO THRESHOLD
144,440.00
barchart/render/64📈 view plot
⚠️ NO THRESHOLD
94,376.00
barchart/render_grouped/2048📈 view plot
⚠️ NO THRESHOLD
361,590.00
barchart/render_grouped/256📈 view plot
⚠️ NO THRESHOLD
155,630.00
barchart/render_grouped/64📈 view plot
⚠️ NO THRESHOLD
143,860.00
barchart/render_horizontal/2048📈 view plot
⚠️ NO THRESHOLD
167,020.00
barchart/render_horizontal/256📈 view plot
⚠️ NO THRESHOLD
82,764.00
barchart/render_horizontal/64📈 view plot
⚠️ NO THRESHOLD
76,344.00
block/render_all_feature/100x50📈 view plot
⚠️ NO THRESHOLD
10,702.00
block/render_all_feature/200x50📈 view plot
⚠️ NO THRESHOLD
18,615.00
block/render_all_feature/256x256📈 view plot
⚠️ NO THRESHOLD
85,420.00
block/render_empty/100x50📈 view plot
⚠️ NO THRESHOLD
5,581.80
block/render_empty/200x50📈 view plot
⚠️ NO THRESHOLD
10,968.00
block/render_empty/256x256📈 view plot
⚠️ NO THRESHOLD
71,491.00
buffer/empty/16📈 view plot
⚠️ NO THRESHOLD
826.80
buffer/empty/255📈 view plot
⚠️ NO THRESHOLD
227,630.00
buffer/empty/64📈 view plot
⚠️ NO THRESHOLD
14,096.00
buffer/filled/16📈 view plot
⚠️ NO THRESHOLD
817.48
buffer/filled/255📈 view plot
⚠️ NO THRESHOLD
222,880.00
buffer/filled/64📈 view plot
⚠️ NO THRESHOLD
13,773.00
buffer/with_lines/16📈 view plot
⚠️ NO THRESHOLD
13,901.00
buffer/with_lines/255📈 view plot
⚠️ NO THRESHOLD
14,598.00
buffer/with_lines/64📈 view plot
⚠️ NO THRESHOLD
17,026.00
line_render/Center/0📈 view plot
⚠️ NO THRESHOLD
3.73
line_render/Center/10📈 view plot
⚠️ NO THRESHOLD
635.09
line_render/Center/3📈 view plot
⚠️ NO THRESHOLD
309.71
line_render/Center/4📈 view plot
⚠️ NO THRESHOLD
351.10
line_render/Center/42📈 view plot
⚠️ NO THRESHOLD
837.19
line_render/Center/6📈 view plot
⚠️ NO THRESHOLD
398.14
line_render/Center/7📈 view plot
⚠️ NO THRESHOLD
455.00
line_render/Left/0📈 view plot
⚠️ NO THRESHOLD
3.73
line_render/Left/10📈 view plot
⚠️ NO THRESHOLD
595.56
line_render/Left/3📈 view plot
⚠️ NO THRESHOLD
226.50
line_render/Left/4📈 view plot
⚠️ NO THRESHOLD
241.35
line_render/Left/42📈 view plot
⚠️ NO THRESHOLD
835.82
line_render/Left/6📈 view plot
⚠️ NO THRESHOLD
387.37
line_render/Left/7📈 view plot
⚠️ NO THRESHOLD
401.30
line_render/Right/0📈 view plot
⚠️ NO THRESHOLD
3.73
line_render/Right/10📈 view plot
⚠️ NO THRESHOLD
571.00
line_render/Right/3📈 view plot
⚠️ NO THRESHOLD
288.08
line_render/Right/4📈 view plot
⚠️ NO THRESHOLD
346.00
line_render/Right/42📈 view plot
⚠️ NO THRESHOLD
836.78
line_render/Right/6📈 view plot
⚠️ NO THRESHOLD
462.06
line_render/Right/7📈 view plot
⚠️ NO THRESHOLD
515.22
list/render/16384📈 view plot
⚠️ NO THRESHOLD
1,216,300.00
list/render/2048📈 view plot
⚠️ NO THRESHOLD
324,980.00
list/render/64📈 view plot
⚠️ NO THRESHOLD
202,410.00
list/render_scroll_half/16384📈 view plot
⚠️ NO THRESHOLD
1,220,700.00
list/render_scroll_half/2048📈 view plot
⚠️ NO THRESHOLD
329,370.00
list/render_scroll_half/64📈 view plot
⚠️ NO THRESHOLD
140,250.00
paragraph/new/2048📈 view plot
⚠️ NO THRESHOLD
275,160.00
paragraph/new/64📈 view plot
⚠️ NO THRESHOLD
6,797.80
paragraph/new/65535📈 view plot
⚠️ NO THRESHOLD
8,169,200.00
paragraph/render/2048📈 view plot
⚠️ NO THRESHOLD
614,420.00
paragraph/render/64📈 view plot
⚠️ NO THRESHOLD
572,130.00
paragraph/render/65535📈 view plot
⚠️ NO THRESHOLD
1,720,200.00
paragraph/render_scroll_full/2048📈 view plot
⚠️ NO THRESHOLD
588,210.00
paragraph/render_scroll_full/64📈 view plot
⚠️ NO THRESHOLD
606,060.00
paragraph/render_scroll_full/65535📈 view plot
⚠️ NO THRESHOLD
1,675,200.00
paragraph/render_scroll_half/2048📈 view plot
⚠️ NO THRESHOLD
588,930.00
paragraph/render_scroll_half/64📈 view plot
⚠️ NO THRESHOLD
612,330.00
paragraph/render_scroll_half/65535📈 view plot
⚠️ NO THRESHOLD
1,674,800.00
paragraph/render_wrap/2048📈 view plot
⚠️ NO THRESHOLD
293,480.00
paragraph/render_wrap/64📈 view plot
⚠️ NO THRESHOLD
248,040.00
paragraph/render_wrap/65535📈 view plot
⚠️ NO THRESHOLD
1,410,300.00
paragraph/render_wrap_scroll_full/2048📈 view plot
⚠️ NO THRESHOLD
294,100.00
paragraph/render_wrap_scroll_full/64📈 view plot
⚠️ NO THRESHOLD
247,140.00
paragraph/render_wrap_scroll_full/65535📈 view plot
⚠️ NO THRESHOLD
1,465,200.00
rect_rows/rows/1024📈 view plot
⚠️ NO THRESHOLD
324.23
rect_rows/rows/16📈 view plot
⚠️ NO THRESHOLD
5.26
rect_rows/rows/65535📈 view plot
⚠️ NO THRESHOLD
20,409.00
sparkline/render/2048📈 view plot
⚠️ NO THRESHOLD
120,520.00
sparkline/render/256📈 view plot
⚠️ NO THRESHOLD
119,860.00
sparkline/render/64📈 view plot
⚠️ NO THRESHOLD
38,702.00
table/render/16384x2📈 view plot
⚠️ NO THRESHOLD
2,902,100.00
table/render/16384x4📈 view plot
⚠️ NO THRESHOLD
5,521,700.00
table/render/16384x8📈 view plot
⚠️ NO THRESHOLD
18,509,000.00
table/render/2048x2📈 view plot
⚠️ NO THRESHOLD
643,570.00
table/render/2048x4📈 view plot
⚠️ NO THRESHOLD
1,119,300.00
table/render/2048x8📈 view plot
⚠️ NO THRESHOLD
1,847,400.00
table/render/64x2📈 view plot
⚠️ NO THRESHOLD
352,510.00
table/render/64x4📈 view plot
⚠️ NO THRESHOLD
528,530.00
table/render/64x8📈 view plot
⚠️ NO THRESHOLD
619,190.00
table/render_scroll_half/16384x2📈 view plot
⚠️ NO THRESHOLD
2,921,000.00
table/render_scroll_half/16384x4📈 view plot
⚠️ NO THRESHOLD
5,727,200.00
table/render_scroll_half/16384x8📈 view plot
⚠️ NO THRESHOLD
20,040,000.00
table/render_scroll_half/2048x2📈 view plot
⚠️ NO THRESHOLD
657,590.00
table/render_scroll_half/2048x4📈 view plot
⚠️ NO THRESHOLD
1,118,400.00
table/render_scroll_half/2048x8📈 view plot
⚠️ NO THRESHOLD
1,821,700.00
table/render_scroll_half/64x2📈 view plot
⚠️ NO THRESHOLD
230,510.00
table/render_scroll_half/64x4📈 view plot
⚠️ NO THRESHOLD
345,770.00
table/render_scroll_half/64x8📈 view plot
⚠️ NO THRESHOLD
405,450.00
🐰 View full continuous benchmarking report in Bencher

@joshka joshka merged commit c32baa7 into ratatui:main Oct 7, 2024
40 checks passed
@airblast-dev airblast-dev deleted the table_bench branch October 14, 2024 20:48
joshka pushed a commit to erak/ratatui that referenced this pull request Oct 14, 2024
kdheepak added a commit that referenced this pull request Oct 16, 2024
* origin/main: (21 commits)
  perf: implement size hints for `Rect` iterators (#1420)
  fix(color): fix doc test for from_hsl (#1421)
  docs: tweak readme (#1419)
  refactor(color)!: use palette types for Hsl/Hsluv conversions (#1418)
  chore(deps)!: pin unicode-width to 0.2.0 (#1403)
  feat(scrolling-regions)!: use terminal scrolling regions to stop Terminal::insert_before from flickering (#1341)
  feat!: add an impl of `DoubleEndedIterator` for `Columns` and `Rows` (#1358)
  fix(rect)!: Rect::area now returns u32 and Rect::new() no longer clamps area to u16::MAX (#1378)
  docs: fix missing breaking changes link (#1416)
  feat(line)!: impl From<Cow<str>> for Line (#1373)
  chore(deny): allow Zlib license in cargo-deny configuration (#1411)
  feat(tabs)!: allow tabs to be deselected (#1413)
  feat(color): add hsluv support (#1333)
  feat(table)!: add support for selecting column and cell (#1331)
  feat(text): improve concise debug view for Span,Line,Text,Style (#1410)
  chore: add benchmark for `Table` (#1408)
  refactor: Consistent result expected in layout tests (#1406)
  feat(logo): Add a Ratatui logo widget
  chore(deps): update rstest requirement from 0.22.0 to 0.23.0 (#1394)
  chore(deps): update octocrab requirement from 0.40.0 to 0.41.0 (#1393)
  ...
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.

3 participants