issues
search
vacp2p
/
zerokit
A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.
Apache License 2.0
131
stars
7
forks
source link
chore: Release
#254
Closed
rymnc
closed
5 months ago
rymnc
commented
5 months ago
Release v0.5.0 Published to crates.io:
https://crates.io/crates/rln
github-actions[bot]
commented
5 months ago
Benchmark for 47cfd33
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | FullMerkleTree::compute_root | 0.0±0.00ns | 0.0±0.00ns | NaN% | | FullMerkleTree::delete | 857.7±9.04ns | **845.6±16.59ns** | **-1.41%** | | FullMerkleTree::get | 0.0±0.00ns | 0.0±0.00ns | NaN% | | FullMerkleTree::get_empty_leaves_indices | **7.1±0.05ns** | 7.4±0.12ns | **+4.23%** | | FullMerkleTree::get_subtree_root | **0.6±0.02ns** | 0.9±0.02ns | **+50.00%** | | FullMerkleTree::override_range | 1329.8±13.74ns | **1311.8±18.00ns** | **-1.35%** | | FullMerkleTree::set | 856.7±8.42ns | **841.3±10.65ns** | **-1.80%** | | OptimalMerkleTree::compute_root | 1007.2±9.36ns | 1010.2±35.59ns | +0.30% | | OptimalMerkleTree::delete | 1005.1±8.43ns | 1000.8±13.47ns | -0.43% | | OptimalMerkleTree::get | **23.3±0.29ns** | 23.9±0.24ns | **+2.58%** | | OptimalMerkleTree::get_empty_leaves_indices | 7.4±0.15ns | **7.1±0.06ns** | **-4.05%** | | OptimalMerkleTree::get_subtree_root | **23.8±0.42ns** | 24.5±0.63ns | **+2.94%** | | OptimalMerkleTree::override_range | 4.1±0.06µs | 4.1±0.06µs | 0.00% | | OptimalMerkleTree::set | 1009.7±36.87ns | 1000.0±9.85ns | -0.96% |
github-actions[bot]
commented
5 months ago
Benchmark for 47cfd33
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | FullMerkleTree::
::full_height_gen | 15.7±0.18ms | **15.5±0.17ms** | **-1.27%** | | OptimalMerkleTree::
::full_height_gen | 576.0±8.96µs | **565.1±8.64µs** | **-1.89%** | | Pmtree::compute_root | 0.0±0.00ns | 0.0±0.00ns | NaN% | | Pmtree::get | **325.7±6.01ns** | 350.8±3.65ns | **+7.71%** | | Pmtree::get_empty_leaves_indices | 8.4±0.16ns | 8.4±0.12ns | 0.00% | | Pmtree::get_subtree_root | **485.7±7.10ns** | 494.6±8.83ns | **+1.83%** | | Pmtree::override_range | 234.8±4.33µs | 232.6±3.97µs | -0.94% | | Pmtree::set | 54.7±0.57µs | **54.1±0.34µs** | **-1.10%** | | Pmtree:delete | 54.5±0.53µs | **53.8±0.61µs** | **-1.28%** | | Set/FullMerkleTree::
::set/1 | 560.6±7.52µs | **545.9±6.35µs** | **-2.62%** | | Set/FullMerkleTree::
::set/10 | 5.6±0.01ms | **5.5±0.02ms** | **-1.79%** | | Set/FullMerkleTree::
::set/100 | 55.8±0.18ms | **54.6±0.32ms** | **-2.15%** | | Set/FullMerkleTree::
::set_range/1 | 556.9±8.50µs | **543.5±7.80µs** | **-2.41%** | | Set/FullMerkleTree::
::set_range/10 | 762.8±6.13µs | **744.7±6.83µs** | **-2.37%** | | Set/FullMerkleTree::
::set_range/100 | 3.3±0.01ms | 3.3±0.01ms | 0.00% | | Set/OptimalMerkleTree::
::set/1 | 553.1±7.43µs | 546.0±8.49µs | -1.28% | | Set/OptimalMerkleTree::
::set/10 | 5.5±0.02ms | 5.5±0.01ms | 0.00% | | Set/OptimalMerkleTree::
::set/100 | 55.6±0.21ms | **54.7±0.14ms** | **-1.62%** | | Set/OptimalMerkleTree::
::set_range/1 | 552.1±8.35µs | **545.3±5.23µs** | **-1.23%** | | Set/OptimalMerkleTree::
::set_range/10 | 5.5±0.01ms | 5.5±0.02ms | 0.00% | | Set/OptimalMerkleTree::
::set_range/100 | 55.8±0.18ms | **54.7±0.12ms** | **-1.97%** | | zkey::upload_from_folder | 3.3±0.00s | 3.3±0.01s | 0.00% |
Release v0.5.0 Published to crates.io: https://crates.io/crates/rln