Skip to content

Reduce object allocations in identity verification#11841

Merged
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/doc-auth-memory-usage-reduction
Feb 5, 2025
Merged

Reduce object allocations in identity verification#11841
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/doc-auth-memory-usage-reduction

Conversation

@mitchellhenke
Copy link
Copy Markdown
Contributor

@mitchellhenke mitchellhenke commented Feb 5, 2025

🛠 Summary of changes

During load testing, these two spaces currently generate a lot of object allocations, particularly the STEPS element. It seemed safe to move this into a constant in that looks like it shouldn't change, but I am less familiar with this area of things. In an IdV-only load-test, the allocations saved here might be up to as much of 33% of the memory allocated.

Mitchell Henke added 2 commits February 5, 2025 09:20
changelog: Internal, Performance, Reduce object allocations in identity verification
@mitchellhenke mitchellhenke requested a review from a team February 5, 2025 15:50
@aduth aduth requested a review from a team February 5, 2025 15:51
Copy link
Copy Markdown
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

great finds!

@mitchellhenke mitchellhenke merged commit 2beb1be into main Feb 5, 2025
@mitchellhenke mitchellhenke deleted the mitchellhenke/doc-auth-memory-usage-reduction branch February 5, 2025 16:00
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