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
fix(CI): add test for all features
#270
Closed
seemenkina
closed
1 month ago
github-actions[bot]
commented
1 month ago
Benchmark for 9bd58c0
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | FullMerkleTree::compute_root | 0.0±0.00ns | 0.0±0.00ns | NaN% | | FullMerkleTree::delete | **856.6±11.43ns** | 874.5±6.49ns | **+2.09%** | | FullMerkleTree::get | 3.4±0.15ns | 3.4±0.03ns | 0.00% | | FullMerkleTree::get_empty_leaves_indices | 7.2±0.12ns | 7.2±0.07ns | 0.00% | | FullMerkleTree::get_subtree_root | 3.7±0.09ns | **3.6±0.13ns** | **-2.70%** | | FullMerkleTree::override_range | **1336.4±11.57ns** | 1380.5±25.12ns | **+3.30%** | | FullMerkleTree::set | 866.4±8.82ns | 862.0±30.77ns | -0.51% | | OptimalMerkleTree::compute_root | 1000.8±45.68ns | 1001.5±14.22ns | +0.07% | | OptimalMerkleTree::delete | 994.9±14.70ns | 1000.4±38.13ns | +0.55% | | OptimalMerkleTree::get | 22.6±0.34ns | 22.5±1.18ns | -0.44% | | OptimalMerkleTree::get_empty_leaves_indices | 7.2±0.09ns | 7.2±0.19ns | 0.00% | | OptimalMerkleTree::get_subtree_root | **23.8±0.18ns** | 24.1±0.58ns | **+1.26%** | | OptimalMerkleTree::override_range | 4.1±0.06µs | 4.1±0.15µs | 0.00% | | OptimalMerkleTree::set | 993.5±16.00ns | 998.5±29.42ns | +0.50% |
github-actions[bot]
commented
1 month ago
Benchmark for 9bd58c0
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | FullMerkleTree::
::full_height_gen | **14.0±0.05ms** | 14.1±0.08ms | **+0.71%** | | OptimalMerkleTree::
::full_height_gen | 578.3±5.55µs | 578.1±7.53µs | -0.03% | | Pmtree::compute_root | 0.0±0.00ns | 0.0±0.00ns | NaN% | | Pmtree::get | 339.2±5.81ns | 337.1±5.16ns | -0.62% | | Pmtree::get_empty_leaves_indices | 8.7±0.21ns | 8.7±0.06ns | 0.00% | | Pmtree::get_subtree_root | 486.5±5.91ns | 484.7±2.90ns | -0.37% | | Pmtree::override_range | 240.5±3.91µs | 239.8±2.48µs | -0.29% | | Pmtree::set | 54.7±0.26µs | 54.7±0.66µs | 0.00% | | Pmtree:delete | 54.4±0.45µs | 54.5±0.47µs | +0.18% | | Set/FullMerkleTree::
::set/1 | **559.2±7.26µs** | 572.2±5.82µs | **+2.32%** | | Set/FullMerkleTree::
::set/10 | **5.6±0.01ms** | 5.7±0.02ms | **+1.79%** | | Set/FullMerkleTree::
::set/100 | **55.9±0.31ms** | 57.6±0.20ms | **+3.04%** | | Set/FullMerkleTree::
::set_range/1 | **556.1±6.77µs** | 573.5±4.68µs | **+3.13%** | | Set/FullMerkleTree::
::set_range/10 | **758.4±3.39µs** | 781.7±2.73µs | **+3.07%** | | Set/FullMerkleTree::
::set_range/100 | **3.3±0.01ms** | 3.4±0.01ms | **+3.03%** | | Set/OptimalMerkleTree::
::set/1 | 559.8±10.09µs | 559.8±6.76µs | 0.00% | | Set/OptimalMerkleTree::
::set/10 | 5.6±0.02ms | 5.6±0.01ms | 0.00% | | Set/OptimalMerkleTree::
::set/100 | 55.9±0.07ms | **55.7±0.28ms** | **-0.36%** | | Set/OptimalMerkleTree::
::set_range/1 | 559.9±7.54µs | 559.2±3.62µs | -0.13% | | Set/OptimalMerkleTree::
::set_range/10 | 5.6±0.01ms | 5.6±0.03ms | 0.00% | | Set/OptimalMerkleTree::
::set_range/100 | 56.0±0.61ms | 55.9±0.12ms | -0.18% | | vk::vk_from_ark_serialized | 1658.5±7.34ns | **1609.4±6.89ns** | **-2.96%** | | zkey::zkey_from_raw | 3.4±0.00s | 3.4±0.00s | 0.00% |
Benchmark for 9bd58c0
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | FullMerkleTree::compute_root | 0.0±0.00ns | 0.0±0.00ns | NaN% | | FullMerkleTree::delete | **856.6±11.43ns** | 874.5±6.49ns | **+2.09%** | | FullMerkleTree::get | 3.4±0.15ns | 3.4±0.03ns | 0.00% | | FullMerkleTree::get_empty_leaves_indices | 7.2±0.12ns | 7.2±0.07ns | 0.00% | | FullMerkleTree::get_subtree_root | 3.7±0.09ns | **3.6±0.13ns** | **-2.70%** | | FullMerkleTree::override_range | **1336.4±11.57ns** | 1380.5±25.12ns | **+3.30%** | | FullMerkleTree::set | 866.4±8.82ns | 862.0±30.77ns | -0.51% | | OptimalMerkleTree::compute_root | 1000.8±45.68ns | 1001.5±14.22ns | +0.07% | | OptimalMerkleTree::delete | 994.9±14.70ns | 1000.4±38.13ns | +0.55% | | OptimalMerkleTree::get | 22.6±0.34ns | 22.5±1.18ns | -0.44% | | OptimalMerkleTree::get_empty_leaves_indices | 7.2±0.09ns | 7.2±0.19ns | 0.00% | | OptimalMerkleTree::get_subtree_root | **23.8±0.18ns** | 24.1±0.58ns | **+1.26%** | | OptimalMerkleTree::override_range | 4.1±0.06µs | 4.1±0.15µs | 0.00% | | OptimalMerkleTree::set | 993.5±16.00ns | 998.5±29.42ns | +0.50% |