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

Add benchmark for schedulers #164

Closed

Conversation

elliottlawrence
Copy link
Contributor

Summary:
Looking for some feedback on this approach.

The scheduler API has 40 methods, and trying to test each one individually would be overkill I think. Plus, the implementation for a lot of the gates is very similar.

I figured the best thing to do would be to just create a bunch of dependent gates, that way we can test that the lazy scheduler properly batches things together more efficiently than the eager scheduler.

If anyone has suggestions for more thorough things to test, LMK.

Reviewed By: RuiyuZhu

Differential Revision: D35162133

Elliott Lawrence added 2 commits March 29, 2022 15:47
Differential Revision: D35132668

fbshipit-source-id: 0e57940e21b00899687e951ed7f498611b27a88e
Summary:
Looking for some feedback on this approach.

The scheduler API has 40 methods, and trying to test each one individually would be overkill I think. Plus, the implementation for a lot of the gates is very similar.

I figured the best thing to do would be to just create a bunch of dependent gates, that way we can test that the lazy scheduler properly batches things together more efficiently than the eager scheduler.

If anyone has suggestions for more thorough things to test, LMK.

Reviewed By: RuiyuZhu

Differential Revision: D35162133

fbshipit-source-id: b29fb9fbd9b6da09e5cf34b23d4f359cbe3188c1
@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 Mar 29, 2022
@facebook-github-bot
Copy link
Contributor

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

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.

2 participants