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

[wasm] Explicitly enable JsonSerializerIsReflectionEnabledByDefault #3115

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Jul 10, 2023

dotnet/runtime#88480 changed the default for $(JsonSerializerIsReflectionEnabledByDefault) to false, which breaks wasm benchmarks using STJ serializer with reflection.

Fixes dotnet/runtime#88610

@radical
Copy link
Member

radical commented Jul 10, 2023

Running a test build of this on dotnet-runtime-perf .

cincuranet
cincuranet previously approved these changes Jul 10, 2023
@radical radical changed the title Explicitly enable JsonSerializerIsReflectionEnabledByDefault [wasm] Explicitly enable JsonSerializerIsReflectionEnabledByDefault Jul 10, 2023
@radical
Copy link
Member

radical commented Jul 10, 2023

It needs to be set for the project generated by BDN, and not the original MicroBenchmarks project.
Update: I tested this locally. The CI run is still waiting for getting some machines assigned!

@radical radical requested a review from cincuranet July 10, 2023 20:42
@radical radical requested a review from lewing July 10, 2023 20:52
@radical
Copy link
Member

radical commented Jul 10, 2023

Updated the PR description also, but feel free to change anything.

@radical
Copy link
Member

radical commented Jul 10, 2023

Also, this does not need to wait for the CI run, since that might not even complete at all due to other issues (fewer available machines for PRs at least). I have verified the fix locally.

@lewing
Copy link
Member

lewing commented Jul 10, 2023

I can't merge on red @dotnet/dotnet-perf-admin

@radical
Copy link
Member

radical commented Jul 10, 2023

The sdk_scenarios ones will get fixed by #3116 AFAIU.

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.

[wasm] Perf benchmark failures - System.Text.Json serializer related failures
4 participants