Skip to content

refactor: use stable Rust #253

refactor: use stable Rust

refactor: use stable Rust #253

Workflow file for this run

name: Benchmark
env:
DEBUG: 'napi:*'
APP_NAME: 'rspack-sources'
MACOSX_DEPLOYMENT_TARGET: '10.13'
# https://github.com/SchrodingerZhu/snmalloc-rs
CACHE_FRIENDLY_OFFSET: 64
'on':
push:
branches:
- main
tags-ignore:
- '**'
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- .editorconfig
- docs/**
pull_request: null
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: moonrepo/setup-rust@v1
- name: Run benchmark(Rust)
run: cargo bench | tee output_rust.txt
- name: Store benchmark result(Rust)
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: output_rust.txt
auto-push: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-always: true