-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Support JSON output to STDOUT (#125)
I want to support `benchmark-ips` in github-action-benchmark. https://github.com/benchmark-action/github-action-benchmark When it can write the result to STDOUT in JSON format, it would be easy to support it. This commits changes JSON output so that it can directly write to a given argument if it responds to `write`. It also adds tests and a section about JSON in README.
- Loading branch information
1 parent
ea645f6
commit 9f2bbda
Showing
3 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters