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

test(sparkline): added benchmark #384

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

Valentin271
Copy link
Member

Description

This PR adds benchmark for the sparkline widget testing a basic render with different amounts of data.

Reports

The sparkline renders only the values that can fit in the buffer width (200 for this test), above that amount, there is almost no difference in the performance.

image

Added benchmark for the `sparkline` widget testing a basic render with different amout of data
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #384 (ef18e7b) into main (37fa6ab) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #384   +/-   ##
=======================================
  Coverage   85.02%   85.02%           
=======================================
  Files          40       40           
  Lines        8683     8683           
=======================================
  Hits         7383     7383           
  Misses       1300     1300           

@joshka joshka enabled auto-merge August 11, 2023 02:17
@joshka joshka added this pull request to the merge queue Aug 11, 2023
Merged via the queue into ratatui-org:main with commit 3293c6b Aug 11, 2023
30 checks passed
@Valentin271 Valentin271 deleted the test/sparkline-benches branch August 11, 2023 07:54
@joshka joshka added this to the v0.23.0 milestone Aug 21, 2023
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.

None yet

3 participants