0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

electron-trpcでsuperjsonをtransformerに使用すると、40MBを超えるファイルの通信がめちゃくちゃ遅い

Last updated at Posted at 2024-02-12

superjsonでserialize, deserializeするからめっちゃ遅くなる。
superjsonの使用をやめたら改善しました。というハマりの報告。

ついでに書いておくと、tauriも同様の問題を抱えていてipc通信の際にJSONにserializeしてから送信するので、重いファイルの送信は向いていない。v2.0から改善する予定らしい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?