Skip to content

Conversation

EricWF
Copy link
Contributor

@EricWF EricWF commented Nov 26, 2017

As Dominic and I have discussed, the current reporter interface
is poor at best. And something should be done to fix it.

I strongly suspect such a fix will require an entire reimagining
of the API, and therefore breaking backwards compatibility fully.

For that reason we should start deprecating and removing parts
that we don't intend to replace. One of these parts, I argue,
is the CSVReporter. I propose that the new reporter interface
should choose a single output format (JSON) and traffic entirely
in that. If somebody really wanted to replace the functionality
of the CSVReporter they would do so as an external tool which
transforms the JSON.

For these reasons I propose deprecating the CSVReporter.

As Dominic and I have discussed, the current reporter interface
is poor at best. And something should be done to fix it.

I strongly suspect such a fix will require an entire reimagining
of the API, and therefore breaking backwards compatibility fully.

For that reason we should start deprecating and removing parts
that we don't intend to replace. One of these parts, I argue,
is the CSVReporter. I propose that the new reporter interface
should choose a single output format (JSON) and traffic entirely
in that. If somebody really wanted to replace the functionality
of the CSVReporter they would do so as an external tool which
transforms the JSON.

For these reasons I propose deprecating the CSVReporter.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.918% when pulling 747292b on efcs:deprecate-csv-reporter into 11dc368 on google:master.

@AppVeyorBot
Copy link

Build benchmark 871 completed (commit d8b4fa8eea by @EricWF)

@pleroy
Copy link
Contributor

pleroy commented Nov 27, 2017

This is moving in the wrong direction. The API may be broken and require rework, and the reporters may need to be rewritten from scratch, but this deprecation a feature that people use is a serious usability regression.

See also the discussion on #443: it's hard to believe that there is consensus for this change.

@EricWF
Copy link
Contributor Author

EricWF commented Dec 14, 2017

@pleroy Mind if I proceed with this now that some misunderstandings have been cleared up?

I plan to remove CSVReporter entirely from the v2 branch today.

@pleroy
Copy link
Contributor

pleroy commented Dec 14, 2017

@EricWF: Sure, go ahead. I need more time to digest your plans regarding JSON (will look at that carefully over the week-end) but in the meantime CSV can die.

@EricWF
Copy link
Contributor Author

EricWF commented Dec 14, 2017

Thanks. No rush on the JSON stuff. we've created a v2 branch to stage the changes on. Honestly it might be better to look later rather than sooner, once there is a more clear vision of the full feature.

@dmah42
Copy link
Member

dmah42 commented May 29, 2018

Oops, forgot to take this :)

@dmah42 dmah42 merged commit 7b8d024 into google:master May 29, 2018
JBakamovic pushed a commit to JBakamovic/benchmark that referenced this pull request Dec 6, 2018
…e#488)

As @dominichamon and I have discussed, the current reporter interface
is poor at best. And something should be done to fix it.

I strongly suspect such a fix will require an entire reimagining
of the API, and therefore breaking backwards compatibility fully.

For that reason we should start deprecating and removing parts
that we don't intend to replace. One of these parts, I argue,
is the CSVReporter. I propose that the new reporter interface
should choose a single output format (JSON) and traffic entirely
in that. If somebody really wanted to replace the functionality
of the CSVReporter they would do so as an external tool which
transforms the JSON.

For these reasons I propose deprecating the CSVReporter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants