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

Add JSON benchmarks for nullable types #1920

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Aug 13, 2021

Adding a benchmark measuring a codegen-related performance regression that we've had to deal with a few times. See also dotnet/runtime#46788, dotnet/runtime#57327 and dotnet/runtime#50915

cc @steveharter @EgorBo

@steveharter
Copy link
Member

Agree; we having a single test for a nullable will help future cases.

Note that MyEventsListerItemTask has some DateTimeOffet? nullables as well although as mentioned that takes some debugging to figure out why it regressed.

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @eiriktsarpalis !

@adamsitnik adamsitnik merged commit b4b5a45 into dotnet:main Aug 17, 2021
@eiriktsarpalis eiriktsarpalis deleted the nullable-json-benchmarks branch August 17, 2021 15:26
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