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

perf: move benchmarks into a single benchmark harness #1302

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Conversation

joshka
Copy link
Member

@joshka joshka commented Aug 6, 2024

Consolidates the benchmarks into a single executable rather than having to create a new cargo.toml setting per and makes it easier to rearrange these when adding new benchmarks.

@joshka joshka requested a review from a team as a code owner August 6, 2024 11:37
Copy link

github-actions bot commented Aug 6, 2024

🐰Bencher

ReportTue, August 6, 2024 at 12:48:11 UTC
ProjectRatatui
Branch1302/merge
Testbedubuntu-latest

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

  • Latency (latency)

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
BenchmarkLatencyLatency Results
nanoseconds (ns)
barchart/render/2048➖ (view plot)205,300.00
barchart/render/256➖ (view plot)133,950.00
barchart/render/64➖ (view plot)87,880.00
barchart/render_grouped/2048➖ (view plot)347,690.00
barchart/render_grouped/256➖ (view plot)145,900.00
barchart/render_grouped/64➖ (view plot)133,740.00
barchart/render_horizontal/2048➖ (view plot)162,230.00
barchart/render_horizontal/256➖ (view plot)80,099.00
barchart/render_horizontal/64➖ (view plot)73,773.00
block/render_all_feature/100x50➖ (view plot)10,337.00
block/render_all_feature/200x50➖ (view plot)18,281.00
block/render_all_feature/256x256➖ (view plot)85,569.00
block/render_empty/100x50➖ (view plot)5,715.30
block/render_empty/200x50➖ (view plot)11,139.00
block/render_empty/256x256➖ (view plot)71,545.00
line_render/Center/0➖ (view plot)3.72
line_render/Center/10➖ (view plot)438.07
line_render/Center/3➖ (view plot)234.71
line_render/Center/4➖ (view plot)259.50
line_render/Center/42➖ (view plot)548.92
line_render/Center/6➖ (view plot)270.65
line_render/Center/7➖ (view plot)305.31
line_render/Left/0➖ (view plot)3.71
line_render/Left/10➖ (view plot)388.24
line_render/Left/3➖ (view plot)155.64
line_render/Left/4➖ (view plot)167.27
line_render/Left/42➖ (view plot)549.42
line_render/Left/6➖ (view plot)256.77
line_render/Left/7➖ (view plot)268.45
line_render/Right/0➖ (view plot)3.71
line_render/Right/10➖ (view plot)396.64
line_render/Right/3➖ (view plot)229.98
line_render/Right/4➖ (view plot)268.27
line_render/Right/42➖ (view plot)550.96
line_render/Right/6➖ (view plot)346.62
line_render/Right/7➖ (view plot)388.31
list/render/16384➖ (view plot)1,178,000.00
list/render/2048➖ (view plot)283,950.00
list/render/64➖ (view plot)162,170.00
list/render_scroll_half/16384➖ (view plot)1,174,800.00
list/render_scroll_half/2048➖ (view plot)267,250.00
list/render_scroll_half/64➖ (view plot)98,897.00
paragraph/new/2048➖ (view plot)252,360.00
paragraph/new/64➖ (view plot)6,682.70
paragraph/new/65535➖ (view plot)8,061,500.00
paragraph/render/2048➖ (view plot)442,680.00
paragraph/render/64➖ (view plot)404,570.00
paragraph/render/65535➖ (view plot)1,656,200.00
paragraph/render_scroll_full/2048➖ (view plot)398,990.00
paragraph/render_scroll_full/64➖ (view plot)437,860.00
paragraph/render_scroll_full/65535➖ (view plot)1,600,000.00
paragraph/render_scroll_half/2048➖ (view plot)400,190.00
paragraph/render_scroll_half/64➖ (view plot)444,110.00
paragraph/render_scroll_half/65535➖ (view plot)1,591,200.00
paragraph/render_wrap/2048➖ (view plot)231,680.00
paragraph/render_wrap/64➖ (view plot)193,530.00
paragraph/render_wrap/65535➖ (view plot)1,406,300.00
paragraph/render_wrap_scroll_full/2048➖ (view plot)231,740.00
paragraph/render_wrap_scroll_full/64➖ (view plot)194,520.00
paragraph/render_wrap_scroll_full/65535➖ (view plot)1,427,600.00
rect_rows/rows/1024➖ (view plot)322.93
rect_rows/rows/16➖ (view plot)5.25
rect_rows/rows/65535➖ (view plot)20,351.00
sparkline/render/2048➖ (view plot)122,520.00
sparkline/render/256➖ (view plot)119,070.00
sparkline/render/64➖ (view plot)38,210.00

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@joshka joshka changed the title jm/bench perf: move benchmarks into a single benchmark harness Aug 6, 2024
benches/main/line.rs Outdated Show resolved Hide resolved
@joshka joshka merged commit e6d2e04 into main Aug 6, 2024
5 of 6 checks passed
@joshka joshka deleted the jm/bench branch August 6, 2024 12:31
joshka added a commit to erak/ratatui that referenced this pull request Oct 14, 2024
Consolidates the benchmarks into a single executable rather than having
to create a new cargo.toml setting per and makes it easier to rearrange
these when adding new benchmarks.
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.

2 participants