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
Execute "es-node -v" is slower than expected, that is because our Flags are implemented in different packages (flags, eslog, signer, miner) which also import other packages, so our init costs seconds to finish. the go process flow is https://pic3.zhimg.com/80/v2-ca6f92e42e1a1e75051f6af121d9f5aa_720w.webp.
ping-ke
changed the title
Execute "es-node -v" is a slower than excepted
Execute "es-node -v" is a slower (4s) than excepted (less than 1s)
Nov 21, 2023
Execute "es-node -v" is slower than expected, that is because our Flags are implemented in different packages (flags, eslog, signer, miner) which also import other packages, so our init costs seconds to finish. the go process flow is https://pic3.zhimg.com/80/v2-ca6f92e42e1a1e75051f6af121d9f5aa_720w.webp.
cmd/es-node/main.go
ethstorage/flags/flags.go
Solution:
Move other flags implementation to
ethstorage/flags
folder and reduce their import packages.The text was updated successfully, but these errors were encountered: