You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2024. It is now read-only.
Currently, deserialization performance is not bad. Serialization, on the other hand, is at a level I would think of as barely tolerable. The biggest problem is that every Object to be serialized will need to create 20-ish JsonConverter<T> objects, and that's a fairly expensive action.
Ideally, each Object would only need a single converter. The basic process for that would be to create a custom converter class for Object, and have that handle the IList fields, rather than assigning them each an individual converter annotation. That was actually my first approach, but I ran into an issue with infinite recursion when deserializing. But I also made other changes since then, so it might not even be an issue anymore?
Either way, serializing a simple activity, which references a single actor and object, can easily take 150ms, which is entirely too long.