fury-old icon indicating copy to clipboard operation
fury-old copied to clipboard

investigate performance issue with updating the hierarchy

Open propensive opened this issue 5 years ago • 1 comments

This is apparent, for example, when updating a layer using the new export menu. It appears like IPFS is called many times, possibly once for every layer in the tree.

This may be fixed by not using Layer.store so often, or by adding caching to Layer.store, but the latter may result in a memory leak if Layers are used as keys for a hash map.

propensive avatar Aug 05 '20 10:08 propensive

It turns out that the layers with their IPFS references are already cached in memory since PR #1173. However, the logs still show a lot of repeating messages "Checking for IPFS daemon".

odisseus avatar Aug 06 '20 17:08 odisseus