add TODO about the bundle load cost
This commit is contained in:
parent
14f597d391
commit
a803021eef
@ -11,6 +11,8 @@ import (
|
|||||||
func init() {
|
func init() {
|
||||||
// preload manifest so that we have the correct code CID inventory for cli since that doesn't
|
// preload manifest so that we have the correct code CID inventory for cli since that doesn't
|
||||||
// go through CI
|
// go through CI
|
||||||
|
// TODO loading the bundle in every cli invocation adds some latency; we should figure out a way
|
||||||
|
// to load actor CIDs without incurring this hit.
|
||||||
bs := blockstore.NewMemory()
|
bs := blockstore.NewMemory()
|
||||||
|
|
||||||
if err := bundle.FetchAndLoadBundles(context.Background(), bs, build.BuiltinActorReleases); err != nil {
|
if err := bundle.FetchAndLoadBundles(context.Background(), bs, build.BuiltinActorReleases); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user