-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* save cache to 4.x * save fix * save again * test * test * test * fix * finish
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,13 +89,12 @@ jobs: | |
uses: actions/cache/restore@v3 | ||
with: | ||
path: packages/web3/dist/4.x.json | ||
key: web3-bundle-stats-4x-${{github.sha}} | ||
key: web3-bundle-stats-4x-${{github.event.pull_request.base.sha}} | ||
- run: yarn build:web:analyze | ||
env: | ||
STATS_FILE: ${{ github.ref_name }}.json | ||
- name: Compare bundle stats | ||
uses: github/webpack-bundlesize-compare-action@v1 | ||
if: github.event_name != 'push' | ||
uses: github/[email protected] | ||
continue-on-error: true | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -105,9 +104,10 @@ jobs: | |
uses: actions/cache/save@v3 | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/4.x' | ||
with: | ||
path: packages/web3/dist/4.x.json | ||
path: packages/web3/dist/${{ github.ref_name }}.json | ||
key: web3-bundle-stats-4x-${{github.sha}} | ||
|
||
|
||
unit: | ||
name: Unit Tests | ||
needs: build | ||
|
bd6cc71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
processingTx
9351
ops/sec (±4.92%
)9301
ops/sec (±4.81%
)0.99
processingContractDeploy
41995
ops/sec (±8.15%
)39129
ops/sec (±7.62%
)0.93
processingContractMethodSend
20372
ops/sec (±5.90%
)19443
ops/sec (±5.19%
)0.95
processingContractMethodCall
41113
ops/sec (±4.65%
)38971
ops/sec (±6.34%
)0.95
abiEncode
47773
ops/sec (±6.16%
)44252
ops/sec (±6.92%
)0.93
abiDecode
32572
ops/sec (±7.59%
)30419
ops/sec (±8.89%
)0.93
sign
1648
ops/sec (±3.02%
)1656
ops/sec (±4.08%
)1.00
verify
374
ops/sec (±0.56%
)373
ops/sec (±0.78%
)1.00
This comment was automatically generated by workflow using github-action-benchmark.