koba04 / swr-devtools

A DevTool for SWR
https://swr-devtools.vercel.app
MIT License
217 stars 3 forks source link

Performance Issue with large data #100

Open koba04 opened 1 year ago

koba04 commented 1 year ago

I've got the feedback that SWRDevTools gets applications slow with large data. I haven't found out the cause of the problem yet, but stringify of superjson seems to be slow, which is introduced by https://github.com/koba04/swr-devtools/issues/90.

image

Todos

koba04 commented 1 year ago

I've come up with the idea to add an option to choose serialization using superjson and to make non-serialization except Error the default option.

koba04 commented 1 year ago

The fallback approach might also be good.

I could also get updates batched.