-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4.x' into ok/6835-Research
- Loading branch information
Showing
4 changed files
with
41 additions
and
20 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
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 | ||
|
@@ -239,7 +239,7 @@ jobs: | |
path: ./ | ||
key: web3-18-${{github.sha}} | ||
# @octokit/core not supported on node 16, so I can't add it to the package.json | ||
- run: npm install --no-package-lock --no-save --force @octokit/core | ||
- run: npm install --no-package-lock --no-save --force @octokit/core@5.1.0 | ||
- name: Restore main branch benchmark data | ||
uses: actions/cache/restore@v3 | ||
with: | ||
|
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
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
04da750
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
9587
ops/sec (±4.02%
)9301
ops/sec (±4.81%
)0.97
processingContractDeploy
42958
ops/sec (±7.11%
)39129
ops/sec (±7.62%
)0.91
processingContractMethodSend
20009
ops/sec (±6.89%
)19443
ops/sec (±5.19%
)0.97
processingContractMethodCall
39977
ops/sec (±5.94%
)38971
ops/sec (±6.34%
)0.97
abiEncode
44934
ops/sec (±6.85%
)44252
ops/sec (±6.92%
)0.98
abiDecode
30999
ops/sec (±8.17%
)30419
ops/sec (±8.89%
)0.98
sign
1628
ops/sec (±2.88%
)1656
ops/sec (±4.08%
)1.02
verify
374
ops/sec (±0.49%
)373
ops/sec (±0.78%
)1.00
This comment was automatically generated by workflow using github-action-benchmark.