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
I noticed that message application is actually very slow, executing even a couple of hundred messages is not fast. The majority here comes from the storage reading and writing.
We should upgrade go-ipld-cbor and friends to the latest version of ipfs/go-ipld-cbor, which now uses refmt and has multiple perf relevant improvements for us
* perf: improve actor storage performance
This minimizes the amount of marshal & unmarshal calls being made when using `actor.WithStorage`.
I used the test `TestTipSetWeightDeep` as benchmark and went from `140s` to `61s`.
When applying ipfs/go-ipld-cbor#45 the time goes down to `45s`.
Warning: this reduces the strictness of the vm memory barrier with the rest of filecoin, but we accept this as a tradeof for now, to improve performance.
Ref #979
I noticed that message application is actually very slow, executing even a couple of hundred messages is not fast. The majority here comes from the storage reading and writing.
Refs
The text was updated successfully, but these errors were encountered: