Update faq.md, rust is the 2023-most-desired-language (#716) #481
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: Continuous benchmark | |
on: | |
push: | |
branches: [main] | |
jobs: | |
bench: | |
name: Bench | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Run cargo bench | |
run: cargo bench --bench reactivity --bench ssr -- --output-format bencher | tee -a output.txt | |
- name: Store benchmark result | |
uses: rhysd/github-action-benchmark@v1 | |
with: | |
name: Benchmark | |
tool: "cargo" | |
output-file-path: output.txt | |
gh-pages-branch: gh-pages | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
auto-push: true | |
# Show alert with commit comment on detecting possible performance regression | |
alert-threshold: "130%" | |
comment-on-alert: true | |
fail-on-alert: true | |
alert-comment-cc-users: "@lukechu10" |