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
{{ message }}
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
When running MetaMask and attempting to create a bulk group of secp256k1 addresses, my browser is spending a lot of time computing the comb10MulTo (10 seconds on 123 addresses / ~50% total runtime) that is downstream of the addAccounts used in the eth-hd-keyring package.
Has anyone here run into this when bulk generating addresses in the browser using eth-hd-keyring? Running the program outside of the browser takes 2.43ms for 100 address via the test methods.
I understand that the browser computation will be slower but is 500x slowness expected?
When running MetaMask and attempting to create a bulk group of secp256k1 addresses, my browser is spending a lot of time computing the comb10MulTo (10 seconds on 123 addresses / ~50% total runtime) that is downstream of the addAccounts used in the eth-hd-keyring package.
Has anyone here run into this when bulk generating addresses in the browser using eth-hd-keyring? Running the program outside of the browser takes 2.43ms for 100 address via the test methods.
I understand that the browser computation will be slower but is 500x slowness expected?
CallTrace for reference:
