Add string builder to build JsString
#8497
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
name: Benchmarks | |
on: | |
pull_request: | |
branches: | |
- main | |
- releases/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
runBenchmark: | |
if: contains(github.event.pull_request.labels.*.name, 'run-benchmark') | |
name: run benchmark | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Cache cargo | |
uses: actions/cache@v4 | |
with: | |
path: | | |
target | |
~/.cargo/git | |
~/.cargo/registry | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- uses: boa-dev/criterion-compare-action@v3.2.4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branchName: ${{ github.base_ref }} | |
cwd: ./core/engine |