Skip to content

Updated analytics to be passive yet guaranteed to complete before exit - #3085

Merged
justinwilaby merged 1 commit into
mainfrom
jw/2x-speedup
Jan 15, 2025
Merged

Updated analytics to be passive yet guaranteed to complete before exit#3085
justinwilaby merged 1 commit into
mainfrom
jw/2x-speedup

Conversation

@justinwilaby

@justinwilaby justinwilaby commented Nov 12, 2024

Copy link
Copy Markdown
Contributor

This PR boosts execution performance by 2x.

Before: Analytics was run sequential to command execution.
After: Analytics runs parallel to command execution but is awaited if the command finishes first.

This give approx 100% increase in performance.

@justinwilaby
justinwilaby requested a review from a team as a code owner November 12, 2024 01:06

@zwhitfield3 zwhitfield3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After reviewing this refactor, the changes make sense. However, these changes only affect Herokulytics performance and in no way affect our performance analytics regarding data collection or performance.

@justinwilaby
justinwilaby merged commit 4cf6628 into main Jan 15, 2025
@justinwilaby
justinwilaby deleted the jw/2x-speedup branch January 15, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants