FHIR Chat · Async serialization · dotnet

Stream: dotnet

Topic: Async serialization


view this post on Zulip Brian Postlethwaite (Feb 20 2021 at 23:11):

Anyone done any async serialization work with XmlReader?
Is it worth updating the aspnetcore format handler to do that?
The raw async performance is significantly slower than my non async code (but is still faster than the current parser)

view this post on Zulip Brian Postlethwaite (Feb 21 2021 at 07:33):

This is the code that calls it
https://github.com/brianpos/fhir-net-web-api/blob/2a66a4400e90564209569255738443c6fa5bd58d/src/Test.WebApi.AspNetCore/CustomSerializers.cs#L177

view this post on Zulip Brian Postlethwaite (Feb 21 2021 at 07:34):

And one of the async Parse functions is here:
https://github.com/brianpos/fhir-net-web-api/blob/2e5048d1242f00f00b40e0c8450c447df98a18af/src/Hl7.Fhir.Custom.Serializers/Generated/FhirCustomXmlReader.Patient.cs#L168
If I add in the other ConfigureAwait(false) to all the other ParseAsync calls will that make any difference?


Last updated: Apr 12 2022 at 19:14 UTC