-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 event processing performance #163
Conversation
Maybe use error level for production and debug level for debug mode? |
Made this update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice looks good glad
@@ -695,18 +637,3 @@ async def test_process_event_substate(TestState, ChildState, GrandchildState): | |||
"test_state.child_state.grandchild_state": {"value2": "new"}, | |||
"test_state": {"sum": 3.14, "upper": ""}, | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice I think it won't be a big deal getting rid of this
getattr
andsetattr
logic previously included to handle some edge cases of substates accessing parent state vars. From now on, that use case will have to be more explicit.critical
- we had left it asdebug
which may also have impacted performancePerformance after this change:
Compared to before: #153