Skip to content
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

Some test perf low-hanging fruit #28487

Merged
merged 1 commit into from
Jul 20, 2022
Merged

Some test perf low-hanging fruit #28487

merged 1 commit into from
Jul 20, 2022

Conversation

ajcvickers
Copy link
Member

~20% improvement in total test run time on my machine

Basically, the changes are to avoid re-creating test data, entity asserters, and entity sorters.

~20% improvement in total test run time on my machine

Basically, the changes are to avoid re-creating test data, entity asserters, and entity sorters.
@ajcvickers ajcvickers requested a review from a team July 20, 2022 17:38
@ajcvickers ajcvickers merged commit bf7c303 into main Jul 20, 2022
@ajcvickers ajcvickers deleted the SplitRoast0720 branch July 20, 2022 19:04
public IReadOnlyList<FunkyCustomer> FunkyCustomers { get; }

public FunkyDataData()
private FunkyDataData()
Copy link
Member

Choose a reason for hiding this comment

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

Eh, this cramps my style @ajcvickers - no longer possible to add/tweak the funky data...

Copy link
Member

Choose a reason for hiding this comment

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

I think it's important to allow providers to tweak test data - sometimes that's just necessary (see #26068). Was this a big deal perf-wise?

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