Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare performance of the LeanIMT written in JS and Rust in Node.js and browser #317

Open
vplasencia opened this issue Sep 4, 2024 · 0 comments
Assignees
Labels
documentation 📖 Improvements or additions to documentation

Comments

@vplasencia
Copy link
Member

Description

There is an implementation of the LeanIMT data structure in TS/JS: https://github.com/privacy-scaling-explorations/zk-kit/tree/main/packages/imt.

There is no LeanIMT implementation in Rust yet. Once the issue related to the LeanIMT implementation in Rust (privacy-scaling-explorations/zk-kit.rust#51) is closed as completed, there will be a crate for the LeanIMT.

The idea of this issue is to compare the performance of LeanIMT written in TS/JS and Rust (compiled to wasm) in Node.js and browser.

Resources

Guide to convert the Rust implementation to wasm: https://rustwasm.github.io/docs/book/

Library to create benchmarks in Node.js and browser: https://github.com/tinylibs/tinybench

@vplasencia vplasencia self-assigned this Sep 4, 2024
@vplasencia vplasencia added this to ZK-Kit Sep 4, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in ZK-Kit Sep 4, 2024
@cedoor cedoor added the documentation 📖 Improvements or additions to documentation label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📖 Improvements or additions to documentation
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants