Skip to content
This repository was archived by the owner on Mar 18, 2022. It is now read-only.

Bump @dapplion/benchmark to v0.2.2 #67

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

dapplion
Copy link
Contributor

Motivation

Prevent OOM and better stability

Description

Bump @dapplion/benchmark to v0.2.2

@github-actions
Copy link

github-actions bot commented Aug 28, 2021

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 68b53d8 Previous: 720103b Ratio
set at depth 8 880.00 ns/op 2.6660 us/op 0.33
Full benchmark results
Benchmark suite Current: 68b53d8 Previous: 720103b Ratio
getGindicesAtDepth 7.0730 us/op 7.0740 us/op 1.00
iterateAtDepth 14.891 us/op 14.618 us/op 1.02
getGindexBits 740.00 ns/op 804.00 ns/op 0.92
gindexIterator 1.5530 us/op 1.7050 us/op 0.91
hash 2 Uint8Array 2250026 times 3.3071 s/op 3.4393 s/op 0.96
hashTwoObjects 2250026 times 3.1659 s/op 3.2672 s/op 0.97
setRoot - gindexBitstring 12.359 ms/op 14.277 ms/op 0.87
setRoot - gindex 12.897 ms/op 14.113 ms/op 0.91
getRoot - gindexBitstring 2.9636 ms/op 2.7642 ms/op 1.07
getRoot - gindex 3.5948 ms/op 3.4986 ms/op 1.03
getHashObject - gindex 2.6863 ms/op 2.9054 ms/op 0.92
setHashObject - gindex 12.167 ms/op 13.987 ms/op 0.87
getHashObject then setHashObject 15.534 ms/op 18.285 ms/op 0.85
hashObjectFn 12.525 ms/op 14.739 ms/op 0.85
set at depth 8 880.00 ns/op 2.6660 us/op 0.33
set at depth 16 1.1070 us/op 1.2830 us/op 0.86
set at depth 32 1.6530 us/op 3.3870 us/op 0.49
iterateNodesAtDepth 8 256 27.404 us/op 30.437 us/op 0.90
getNodesAtDepth 8 256 12.525 us/op 13.991 us/op 0.90
iterateNodesAtDepth 16 65536 7.3959 ms/op 8.7010 ms/op 0.85
getNodesAtDepth 16 65536 3.6405 ms/op 5.0413 ms/op 0.72
iterateNodesAtDepth 32 250000 31.781 ms/op 43.472 ms/op 0.73
getNodesAtDepth 32 250000 16.196 ms/op 24.295 ms/op 0.67
iterateNodesAtDepth 40 250000 32.547 ms/op 43.755 ms/op 0.74
getNodesAtDepth 40 250000 17.831 ms/op 24.191 ms/op 0.74
250k validators 3.4474 s/op 3.6856 s/op 0.94

by benchmarkbot/action

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant