-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
Per #3147 (comment) :
We have an RTK Query where the input to the query is large enough that the serialization logic to create the cache key affects performance...
We're still getting some performance hit because it looks like RTK Query does some JSON stringification of the arguments internally even if it's not part of the cache key, but this is manageable (about 50ms of our app startup is spent on this stringification of arguments)
I wonder if we could do some basic caching of the serialization, maybe by adding a WeakMap
usage to defaultSerializeQueryArgs
?
ggaabe
Metadata
Metadata
Assignees
Labels
No labels