Skip to content

Commit 25b48d6

Browse files
committed
CI: Update dependencies, make naming more explicit
1 parent 264a2d0 commit 25b48d6

File tree

3 files changed

+18
-63
lines changed

3 files changed

+18
-63
lines changed

Diff for: .github/workflows/run.yaml

+13-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: brew update
1818

1919
- name: Set up Bun
20-
uses: oven-sh/setup-bun@v1
20+
uses: oven-sh/setup-bun@v2
2121

2222
- name: Set up D
2323
run: brew install ldc dtools
@@ -28,7 +28,7 @@ jobs:
2828
brew install dart
2929
3030
- name: Set up Dotnet
31-
run: brew install dotnet
31+
run: brew install --formula dotnet
3232

3333
- name: Set up Deno
3434
run: brew install deno
@@ -55,7 +55,7 @@ jobs:
5555
run: brew install java
5656

5757
- name: Set up Julia
58-
run: brew install julia
58+
run: brew install --formula julia
5959

6060
- name: Set up Lua
6161
run: brew install lua
@@ -70,7 +70,7 @@ jobs:
7070
run: brew install nickel
7171

7272
- name: Set up Nix
73-
uses: cachix/install-nix-action@v27
73+
uses: cachix/install-nix-action@v31
7474

7575
# - name: Set up Nim
7676
# run: brew install nim
@@ -89,9 +89,12 @@ jobs:
8989

9090
- name: Set up Python
9191
uses: actions/setup-python@v5
92+
with:
93+
python-version: '3.13'
94+
check-latest: true
9295

9396
- name: Set up R
94-
run: brew install r
97+
run: brew install --formula r
9598

9699
- name: Set up Racket
97100
run: brew install --cask racket
@@ -107,7 +110,7 @@ jobs:
107110
brew install scala
108111
brew install Virtuslab/scala-cli/scala-cli
109112
110-
- name: Set up Stack
113+
- name: Set up Haskell's Stack
111114
uses: haskell-actions/setup@v2
112115
with:
113116
enable-stack: true
@@ -124,15 +127,15 @@ jobs:
124127
- name: Print versions
125128
run: make print-versions
126129

127-
- name: Run main benchmark
128-
run: make run
130+
- name: Run bucket-calc benchmark
131+
run: make run-bucket-calc
129132

130133
- name: Run shebang-scripts benchmark
131134
run: make run-shebangs
132-
135+
133136
- name: Generate chart
134137
run: make -B shebang-scripts/today/chart.svg
135-
138+
136139
- name: Commit and push updated chart
137140
run: |
138141
git config --local user.email "[email protected]"

Diff for: makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ help: makefile
33
@tail -n +4 makefile | grep ".PHONY"
44

55

6-
.PHONY: run
7-
run:
6+
.PHONY: run-bucket-calc
7+
run-bucket-calc:
88
@hyperfine \
99
--shell=none \
1010
--warmup 10 \

Diff for: readme.md

+3-51
Original file line numberDiff line numberDiff line change
@@ -96,57 +96,9 @@ and Haskell unfortunately does not even cache the compiled binary.
9696

9797
## Result
9898

99-
Check out the workflow runs for the latest benchmark results.
100-
101-
102-
### GitHub's MacOS 14 Runner
103-
104-
#### Bucket Calc
105-
106-
```txt
107-
lua bucket-calc/main.lua ran
108-
2.96 ± 3.97 times faster than nickel export bucket-calc/main.ncl
109-
3.05 ± 3.98 times faster than bun run bucket-calc/main.js
110-
3.09 ± 4.07 times faster than bun run bucket-calc/main.ts
111-
4.71 ± 5.77 times faster than python3 bucket-calc/main.py
112-
4.76 ± 5.83 times faster than deno run bucket-calc/main.ts
113-
4.80 ± 5.91 times faster than deno run bucket-calc/main.js
114-
8.56 ± 10.56 times faster than node bucket-calc/main.js
115-
24.21 ± 29.52 times faster than
116-
typst query --field=text --one bucket-calc/main.typ
117-
```
118-
119-
120-
#### Shebang Scripts
121-
122-
```txt
123-
./luajit ran
124-
1.06 ± 0.22 times faster than ./lua
125-
1.61 ± 0.27 times faster than ./bash
126-
1.62 ± 0.29 times faster than ./dash
127-
2.12 ± 0.49 times faster than ./ksh
128-
2.66 ± 0.55 times faster than ./osh
129-
3.77 ± 0.63 times faster than ./elvish
130-
3.91 ± 0.67 times faster than ./v.vsh
131-
4.92 ± 0.82 times faster than ./fish
132-
6.16 ± 1.02 times faster than ./bun
133-
9.65 ± 1.72 times faster than ./guile
134-
13.94 ± 2.29 times faster than ./python
135-
14.20 ± 2.39 times faster than ./nushell
136-
17.43 ± 2.86 times faster than ./php
137-
23.01 ± 3.94 times faster than ./ocaml
138-
35.43 ± 5.99 times faster than ./ruby
139-
52.94 ± 9.08 times faster than ./racket
140-
56.77 ± 9.59 times faster than ./perl
141-
89.13 ± 14.62 times faster than ./dart
142-
106.23 ± 18.77 times faster than ./swift
143-
143.96 ± 24.03 times faster than ./julia
144-
199.84 ± 33.40 times faster than ./roc.roc
145-
224.83 ± 47.56 times faster than ./elixir
146-
483.43 ± 87.95 times faster than ./haskell
147-
507.16 ± 114.14 times faster than ./scala
148-
528.19 ± 94.47 times faster than ./fsharp.fsx
149-
```
99+
Check out the
100+
[workflow runs](https://github.com/Airsequel/interpreted-languages-benchmark/actions)
101+
for the latest benchmark results.
150102

151103

152104
## Related

0 commit comments

Comments
 (0)