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

backend: eliminate unnecessary metaprogramming #2478

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

wchargin
Copy link
Contributor

Summary:
This was a relic of a piecewise migration from the event_accumulator’s
old form to its current plugin_event_accumulator form. (See #345 for
an example of one of the intermediate states.) Now totally superfluous,
it incurs needless cognitive and CPU overhead, as the getattr blocks
standard optimizations.

Test Plan:
All tests pass, and TensorBoard can still load the standard demo data.

wchargin-branch: eliminate-metaprogramming

Summary:
This was a relic of a piecewise migration from the `event_accumulator`’s
old form to its current `plugin_event_accumulator` form. (See #345 for
an example of one of the intermediate states.) Now totally superfluous,
it incurs needless cognitive and CPU overhead, as the `getattr` blocks
standard optimizations.

Test Plan:
All tests pass, and TensorBoard can still load the standard demo data.

wchargin-branch: eliminate-metaprogramming
@wchargin wchargin merged commit c1c2771 into master Jul 30, 2019
@wchargin wchargin deleted the wchargin-eliminate-metaprogramming branch July 30, 2019 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants