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

Refactor benchmark output handling and add JSON/HTML support #1416

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hubcio
Copy link
Collaborator

@hubcio hubcio commented Jan 3, 2025

This commit refactors the benchmark output handling by replacing CSV and TOML
file generation with JSON and HTML outputs. The output_directory argument is
replaced with output, and the results are now serialized into a JSON file.
Additionally, HTML plots are generated using the charming library, providing
a visual representation of throughput and latency over time.

  • Removed CSV and TOML dependencies and related code.
  • Added charming and serde_json dependencies for JSON and HTML output.
  • Updated scripts to reflect changes in output handling.
  • Improved directory handling in performance scripts.

@hubcio hubcio force-pushed the bench-use-json branch 2 times, most recently from b8c7f61 to a7677e3 Compare January 3, 2025 15:55
@coveralls
Copy link
Collaborator

coveralls commented Jan 3, 2025

Pull Request Test Coverage Report for Build 12603924821

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 75.325%

Totals Coverage Status
Change from base Build 12599261763: 0.0%
Covered Lines: 24202
Relevant Lines: 32130

💛 - Coveralls

@hubcio hubcio changed the title Refactor benchmark output handling and remove CSV dependency Refactor benchmark output handling and add JSON/HTML support Jan 3, 2025
@hubcio hubcio force-pushed the bench-use-json branch 3 times, most recently from b8327e5 to 67198ea Compare January 3, 2025 20:03
This commit refactors the benchmark output handling by replacing CSV and TOML
file generation with JSON and HTML outputs. The `output_directory` argument is
replaced with `output`, and the results are now serialized into a JSON file.
Additionally, HTML plots are generated using the `charming` library, providing
a visual representation of throughput and latency over time.

- Removed CSV and TOML dependencies and related code.
- Added `charming` and `serde_json` dependencies for JSON and HTML output.
- Updated scripts to reflect changes in output handling.
- Improved directory handling in performance scripts.
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