Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

It seems that the slow performance during the first deserialization is by design. In my case, the first deserialization takes 155ms, while the second only takes 1.2ms, which is a bit unacceptable.
Is there any way to speed up the initial deserialization?
P.S. I'm using v3.

You must be logged in to vote

Replies: 1 comment · 2 replies

Comment options

You should verify that you have the source generator configured properly, and that you're consuming it properly when calling into the serializer.

You must be logged in to vote
2 replies
@zycamel
Comment options

Thanks for you reply, I'm running this test case on Android platform with IL2CPP runtime, according to the README AOT section, source generator is working automatically.
I'm using the default option with no custom setups, is there anything I can do to speed it up?

@AArnott
Comment options

Maybe use a .net decompiler on your dll to verify that source generation has actually happened in your assembly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.