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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

command line tools for data manipulation #249

Open
inverted-capital opened this issue May 20, 2024 · 0 comments
Open

command line tools for data manipulation #249

inverted-capital opened this issue May 20, 2024 · 0 comments

Comments

@inverted-capital
Copy link

Hey there - just an idea suggestion here 馃挕

As the years drag on, our benchmark data is getting large. It would be nice to have some command line tools to do decimation or combing of the data. In general, some commandline tools to help manage the .json file would maybe be useful to people ? Manipulating the file directly is difficult, but also it is hard to parse since it is a .js extension but the contents are expected to be strict JSON, so autoformatters like prettier will correct this file to be unusable by benchmark-action. The tooling ideas we had so far are:

Data decimation

Go thru the file and remove a set fraction of the benchmarks after a certain age to reduce the number of data points.

Remove a benchmark

Go thru the data.json file and delete all traces of a particular benchmark

Rename a benchmark

Simply moves a benchmark name to occupy an unused namespace

Merge an old file

Pull in an existing data.json into this one, so that old benchmarks can be carried on, extended, or presented separately for reference

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

No branches or pull requests

1 participant