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

Unify batching in file drivers, remove read/write stubs on base reporter #83

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

nicholasjng
Copy link
Collaborator

Since the reporter interface is so dynamic (i.e., file I/O needs vastly different arguments than DB I/O), we scrap the read/write APIs from the base class and add it as needed in the child classes.

Adds batched (i.e., multi-record) read/write support and a FileReporter class that is just the sum of the FileIO and BenchmarkReporter interfaces.

@nicholasjng nicholasjng added the refactor Makes existing code nicer and more useable. label Feb 19, 2024
@nicholasjng nicholasjng self-assigned this Feb 19, 2024
Since the reporter interface is so dynamic (i.e., file I/O needs vastly
different arguments than DB I/O), we scrap the read/write APIs from the
base class and add it as needed in the child classes.

Adds batched (i.e., multi-record) read/write support and a `FileReporter`
class that is just the sum of the `FileIO` and `BenchmarkReporter`
interfaces.
@nicholasjng nicholasjng merged commit e2890e0 into main Feb 19, 2024
5 checks passed
@nicholasjng nicholasjng deleted the reporter-refactor branch February 19, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Makes existing code nicer and more useable.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant