Skip to content

Commit

Permalink
Benchmarks of Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowCait committed Sep 3, 2024
1 parent b735d22 commit d48318e
Show file tree
Hide file tree
Showing 6 changed files with 1,605 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ jobs:
steps:
- uses: actions/checkout@v4

# TypeScript
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno bench --allow-env

# Go
- run: go test -bench .

# C#
- run: dotnet run --configuration Release

# Rust
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- run: cargo +nightly bench

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -482,3 +482,7 @@ $RECYCLE.BIN/

# Vim temporary swap files
*.swp

# Added by cargo

/target
Loading

0 comments on commit d48318e

Please sign in to comment.