Skip to content

collapse name matchers into single class#2518

Merged
richardstartin merged 2 commits into
masterfrom
rgs/collapse-name-matchers
Mar 19, 2021
Merged

collapse name matchers into single class#2518
richardstartin merged 2 commits into
masterfrom
rgs/collapse-name-matchers

Conversation

@richardstartin

Copy link
Copy Markdown
Contributor

When profiling startup I see a lot of time at the leaves of the profile is spent in itable stubs, this collapses our most commonly used matchers into a single matcher, which may help with this and also saves on a few class loads. Since this is a definite reduction in code quality, I aim to collect some data to justify this change carries its weight.

@richardstartin richardstartin requested a review from a team as a code owner March 19, 2021 13:33
@richardstartin richardstartin force-pushed the rgs/collapse-name-matchers branch 2 times, most recently from b1f7671 to 747848f Compare March 19, 2021 13:41
@richardstartin

Copy link
Copy Markdown
Contributor Author

This is the most effective pending change I have made, improving time to load 10000 dropwizard classes by over 1% and 3x stddev

@richardstartin richardstartin force-pushed the rgs/collapse-name-matchers branch from 747848f to ce7e48f Compare March 19, 2021 17:16
@richardstartin richardstartin merged commit fed5c60 into master Mar 19, 2021
@richardstartin richardstartin deleted the rgs/collapse-name-matchers branch March 19, 2021 20:15
@github-actions github-actions Bot added this to the 0.76.0 milestone Mar 19, 2021
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.

3 participants