Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(benchmarks): improve bechmarks to have complete performance data (…
…privacy-scaling-explorations#326) * test(benchmarks): improve bechmarks to have complete performance data - Added Sparse Merkle Tree to the benchmark suites to complete the available merkle tree implementations in zk-kit. - Added operation to the benchmark suites (proof generation, proof verification, update, delete - Changed the "imt.ts" name to "benchmark-merkle-trees.ts" - Added README.md documentation about the benchmark suite - Added log managment with winston library to handle any error produced during the benchmark withtout break the benchmark execution re privacy-scaling-explorations#311 * fix(benchmarks): remove package winston and to-hex libraries to fix validation issues in GH remove package winston and to-hex libraries to fix validation issues in GH re privacy-scaling-explorations#311 * docs(benchmarks): added benchmarks summary Added benchmarks summary tables for different sizes of samples and conclusion ideas re # 311 * Update benchmarks/README.md Co-authored-by: sripwoud <[email protected]> * Update benchmarks/benchmark-merkle-trees.ts Co-authored-by: sripwoud <[email protected]> * Update benchmarks/README.md Co-authored-by: sripwoud <[email protected]> * Update benchmarks/benchmark-merkle-trees.ts Co-authored-by: sripwoud <[email protected]> * Update benchmarks/README.md Co-authored-by: sripwoud <[email protected]> * refactor(benchmarks): added winston to package.json and refactored index.ts Added winston to package.json and refactored index.ts to run the samples with a loop managed by an array re privacy-scaling-explorations#311 * Update benchmarks/benchmark-merkle-trees.ts Co-authored-by: sripwoud <[email protected]> * fix(benchmarks): added counter initialization mistake Changed to initialize from -1 instead of 0 to fix the logic to start from the first samples element re privacy-scaling-explorations#311 * docs(benchmarks): changed the usage instructions to point the exisitin script Change the usage instructions of benchmarks from the npx command to use the exisiting script in the package.json re privacy-scaling-explorations#311 * style(benchmarks): benchmark-merkle-trees.ts changes from prettier validation Minimal change in the code to add an space to a instruction from prettier lib suggestion * fix(benchmarks): added the new version of yarn.lock after the run the yarn command in my local environment plus add the new dev dependency winston the yarn.lock have changed some lib versions and added winston re privacy-scaling-explorations#311 --------- Co-authored-by: sripwoud <[email protected]> Co-authored-by: Cedoor <[email protected]>
- Loading branch information