-
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.
- Loading branch information
Showing
74 changed files
with
533 additions
and
333 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 | ||
|
@@ -118,6 +118,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-node@v4 | ||
with: | ||
architecture: x64 | ||
node-version: ${{ matrix.node }} | ||
- uses: actions/cache/restore@v3 | ||
with: | ||
|
@@ -239,7 +240,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
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
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
Oops, something went wrong.
2fbddbd
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
9661
ops/sec (±4.06%
)9301
ops/sec (±4.81%
)0.96
processingContractDeploy
40037
ops/sec (±10.70%
)39129
ops/sec (±7.62%
)0.98
processingContractMethodSend
20692
ops/sec (±5.98%
)19443
ops/sec (±5.19%
)0.94
processingContractMethodCall
40937
ops/sec (±5.33%
)38971
ops/sec (±6.34%
)0.95
abiEncode
47148
ops/sec (±5.95%
)44252
ops/sec (±6.92%
)0.94
abiDecode
32863
ops/sec (±6.86%
)30419
ops/sec (±8.89%
)0.93
sign
1664
ops/sec (±3.03%
)1656
ops/sec (±4.08%
)1.00
verify
380
ops/sec (±0.62%
)373
ops/sec (±0.78%
)0.98
This comment was automatically generated by workflow using github-action-benchmark.