Skip to content

Comments

bug(nimbus): Improve performance of NimbusExperiment.computed_enrollment_days#14075

Merged
freshstrangemusic merged 1 commit intomainfrom
push-mlzsvlrkvvzm
Nov 26, 2025
Merged

bug(nimbus): Improve performance of NimbusExperiment.computed_enrollment_days#14075
freshstrangemusic merged 1 commit intomainfrom
push-mlzsvlrkvvzm

Conversation

@freshstrangemusic
Copy link
Member

Because:

  • NimbusExperiment.computed_enrollment_days processes several change logs in memory

this commit:

  • moves all the sorting and filtering to the SQL query; and
  • limits the amount of data returned to Python to only the needful.

Fixes #14074

Copy link
Contributor

@yashikakhurana yashikakhurana left a comment

Choose a reason for hiding this comment

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

Nice improvement, thanks @freshstrangemusic

…ent_days

Because:

- NimbusExperiment.computed_enrollment_days processes several change
logs in memory

this commit:

- moves all the sorting and filtering to the SQL query; and
- limits the amount of data returned to Python to only the needful.

Fixes #14074
@freshstrangemusic freshstrangemusic added this pull request to the merge queue Nov 26, 2025
Merged via the queue into main with commit d566337 Nov 26, 2025
17 checks passed
@freshstrangemusic freshstrangemusic deleted the push-mlzsvlrkvvzm branch November 26, 2025 23:11
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.

NimbusExperiment.computed_enrollment_data causing pages to hang

2 participants