11 Commits

Author SHA1 Message Date
d0x471b
6f7987cf78 docs: update URLs from PSE to zk-kit (#415)
re #401
2026-02-09 00:26:39 +01:00
indmind
bb5e5bb1e7 refactor: consolidated benchmark logic into benchmarkSuite function (#374) 2025-02-10 18:18:49 +00:00
Maks
c6f1efe79d Update README.md - Fix Spelling and Grammar (#352)
Update README.md
2024-11-27 12:37:24 +07:00
wangjingcun
c126a7c5b1 chore(benchmarks): fix some typos in comment (#348)
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-11-22 11:58:08 +07:00
Paul Rodas Lema
9adf8bf54b test(benchmarks): improve bechmarks to have complete performance data (#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 #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 #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 <dev+github@sripwoud.xyz>

* Update benchmarks/benchmark-merkle-trees.ts

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/README.md

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/benchmark-merkle-trees.ts

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/README.md

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* 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 #311

* Update benchmarks/benchmark-merkle-trees.ts

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* 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 #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 #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 #311

---------

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>
Co-authored-by: Cedoor <me@cedoor.dev>
2024-09-25 10:00:50 +02:00
cedoor
60e393a50c chore(imt): update imt benchmarks 2023-11-27 11:51:32 +00:00
cedoor
7f7049b8c4 style: format code with prettier 2022-06-24 12:36:09 +02:00
cedoor
8a45dd4e4d chore: update incremental-merkle-tree benchmarks
Former-commit-id: 5660ec262b6dbe02f37711a40fe4c386375e4317 [formerly 54df821cae2ba6c0acbe794251665883677ae183] [formerly 73f26fe91d1e9f120b9c60a66db78bc93ae10d29 [formerly 5d166ed868]]
Former-commit-id: 51fb993f1ec83184a438fe5a94daec8f999de37e [formerly 2f04704bf91f195fdc91017d7b66e7280b2058ea]
Former-commit-id: 1f44dfc4e6d3cac3737a1b29ae3dde2c0cd41f9a
2022-01-23 21:43:47 +01:00
cedoor
b7f3de86f5 chore: move benchmarks in the root folder
Former-commit-id: 2aa52b2e396f1aa5d3fbe5487019aba7f85895f1 [formerly 88b71415a772bdf1e96ab9c7d94157a733fb467a] [formerly 590abd6e0a6146462ca32e8f6ee50e27c7dca0a7 [formerly aded04b919]]
Former-commit-id: 041cfc9c9c7f705fd8e0b3cafd377b51a92ad34d [formerly a6d426be61e32cdcd7e097438e6bf6b25868d0cc]
Former-commit-id: 488980eadde4ad8f0ddf0b54d38e789b91822d49
2022-01-23 14:10:32 +01:00
Andrija Novakovic
66bd198025 new version with submodules
Former-commit-id: cb7d1089472f7a61d9f872b704bb5cae31d1a3d7 [formerly fc80456d81]
Former-commit-id: 1ced30334feaa8e858921a3a492c2cebdf63cfbc
2021-10-18 19:43:40 +02:00
Andrija Novakovic
8aa04e46a6 lib
Former-commit-id: 299ded71d5
2021-10-10 11:17:08 +02:00