propensive / fury-old

A new build tool for JVM languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

investigate performance issue with updating the hierarchy

propensive opened this issue · 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.

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".