twoeths
twoeths
another profile shows `eddsa_privkey_import` function [v1.19.0_rc.0_mainnet_main_20240605.cpuprofile.zip](https://github.com/user-attachments/files/15581032/v1.19.0_rc.0_mainnet_main_20240605.cpuprofile.zip) the function name seems not correct and it's only available in bcrypto
regarding pruning old state, if we follow the design to only store state diff instead of state to disk then it becomes really lightweight and we don't need to think...
> > how much disc space does it need for storing states with the current approach, compared to the default config of the new approach > > There is still...
> Split the state into state and balances array. As balances array has more frequent entropy. @nazarhussain `validators` takes the most space in state bytes and it's mostly unchanged so...
I think for libraries, I agree that we should support both/all javascript runtimes. For beacon-node, it's just nice to support NodeJS, we don't have to
> What is the overhead of being able to support both for a transitory period? @philknows right now we're only at experimental phase, we're not able to run lodestar on...
this is blocker of #5857 and https://github.com/ChainSafe/ssz/issues/479
persist the test result with hashtree performance using bun/nodejs napi/bun:ffi [here](https://gist.github.com/twoeths/5d6af2232f1e0566e9bdc4e30e67294c?permalink_comment_id=5690602#gistcomment-5690602) in summary: - bun manages memory way better than NodeJS - bun napi is slower than nodejs napi -...
I have 2 branches to call hash() function 2 times at native in [hashtree-js](https://github.com/ChainSafe/hashtree-js/blob/te/benchmark_2x/src/lib.rs#L46) and [hashtree-z](https://github.com/ChainSafe/hashtree-z/blob/te/benchmark_2x/src/root_c_abi.zig#L15) based on the result specified [here](https://gist.github.com/twoeths/5d6af2232f1e0566e9bdc4e30e67294c?permalink_comment_id=5694871#gistcomment-5694871) - node napi binding time: 528ms - node...
yes but we only implemented for attestation, need to also implement for sync committee messages