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

Improve compute benchmark framework test coverage #58

Closed
wants to merge 1 commit into from

Conversation

louisfeng
Copy link
Contributor

Summary:
Add a new test for a simple benchmark object creation by json

  • get default benchmark options
  • load json into benchmark config
  • init a Benchmark object
  • assert a Benchmark object is created, run_options is not empty in the object, bench_config.bench_config of the benchmark object is not empty

This test try to improve test coverage involve config.py, config_util.py, benchmark.py

Reviewed By: louisfeng

Differential Revision: D37490539

Summary:
Add a new test for a simple benchmark object creation by json
 - get default benchmark options
 - load json into benchmark config
 - init a Benchmark object
 - assert a Benchmark object is created, run_options is not empty in the object, bench_config.bench_config of the benchmark object is not empty

This test try to improve test coverage involve config.py, config_util.py, benchmark.py

Reviewed By: louisfeng

Differential Revision: D37490539

fbshipit-source-id: 5a292fcba97d000d94a250701a4871f22ce87ff8
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 30, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D37490539

@louisfeng
Copy link
Contributor Author

This has been merged.

@louisfeng louisfeng closed this Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants