Commit 99fae0cd authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

bench-cli: Support `JSON` output (#10771)



* Add dependencies

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Make benchmark results serializable

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Add `--json[-file]` options

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Enable JSON output

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Use specific serde version

Polkadot does not compile otherwise.

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Review comments

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Review comment: fs::write

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
parent 46f43966
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment