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

Add Benchmark.to_list() and to_json() to improve record IO #162

Merged
merged 4 commits into from
Nov 13, 2024

Commits on Nov 13, 2024

  1. Configuration menu
    Copy the full SHA
    988fa00 View commit details
    Browse the repository at this point in the history
  2. Change benchmark record export capabilities, update file IO

    It is useful to be able to export a record to both a struct (JSON, YAML)
    and to a list of results (tabular formats like CSV, Parquet, databases).
    
    The previous way of choosing either mode via a string literal was not
    great, so now, we restructure the API to `BenchmarkRecord.to_{json,list}`
    for either export, and make BenchmarkRecord.expand() capable of dealing
    with either.
    nicholasjng committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    7bcff95 View commit details
    Browse the repository at this point in the history
  3. Run pre-commit autoupdate

    nicholasjng committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    56e09b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9eda218 View commit details
    Browse the repository at this point in the history