File tree Expand file tree Collapse file tree 12 files changed +34
-23
lines changed Expand file tree Collapse file tree 12 files changed +34
-23
lines changed Original file line number Diff line number Diff line change 20
20
runs-on : ${{ matrix.os }}
21
21
strategy :
22
22
fail-fast : true
23
+ # fail-fast: false
23
24
matrix :
24
25
os : [ubuntu-22.04]
25
26
lang : [
@@ -227,10 +228,10 @@ jobs:
227
228
pushd bench
228
229
dotnet run -c Release --project tool -- --task test --langs ${{ matrix.lang }}
229
230
popd
230
- - uses : actions/upload-artifact@v3
231
+ - uses : actions/upload-artifact@v4
231
232
if : github.ref == 'refs/heads/main'
232
233
with :
233
- name : build
234
+ name : build-${{ matrix.lang }}
234
235
path : bench/build/**/*
235
236
if-no-files-found : error
236
237
gate :
@@ -302,9 +303,10 @@ jobs:
302
303
with :
303
304
ruby-version : 3 # Not needed with a .ruby-version file
304
305
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
305
- - uses : actions/download-artifact@v3
306
+ - uses : actions/download-artifact@v4
306
307
with :
307
- name : build
308
+ pattern : build-*
309
+ merge-multiple : true
308
310
path : bench/build/
309
311
- name : Bench
310
312
run : |
@@ -313,7 +315,7 @@ jobs:
313
315
dotnet run -c Release --project tool -- --task test --ignore-missing
314
316
dotnet run -c Release --project tool -- --task bench --ignore-missing
315
317
popd
316
- - uses : actions/upload-artifact@v3
318
+ - uses : actions/upload-artifact@v4
317
319
with :
318
320
name : log
319
321
path : bench/build/_results/**/*
@@ -333,7 +335,7 @@ jobs:
333
335
- uses : pnpm/action-setup@v2
334
336
with :
335
337
version : 9
336
- - uses : actions/download-artifact@v3
338
+ - uses : actions/download-artifact@v4
337
339
with :
338
340
# Artifact name
339
341
name : log
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ _Current benchmarks problems and their implementations are from [The Computer La
57
57
58
58
## Prerequisites
59
59
60
- [ net7 ] ( https://dotnet.microsoft.com/ )
60
+ [ net9 ] ( https://dotnet.microsoft.com/ )
61
61
62
62
[ nodejs 14] ( https://nodejs.org/ )
63
63
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ fn main() -> anyhow::Result<()> {
24
24
. and_then ( |s| s. into_string ( ) . ok ( ) )
25
25
. and_then ( |s| s. parse ( ) . ok ( ) )
26
26
. unwrap_or ( 10 ) ;
27
- let mut rng = thread_rng ( ) ;
28
- let port = rng. gen_range ( 30000 ..40000 ) ;
27
+ let mut rng = rand :: rng ( ) ;
28
+ let port = rng. random_range ( 30000 ..40000 ) ;
29
29
tokio_main ( n, port) ?;
30
30
std:: process:: exit ( 0 ) ;
31
31
}
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ fn main() -> anyhow::Result<()> {
15
15
. and_then ( |s| s. into_string ( ) . ok ( ) )
16
16
. and_then ( |s| s. parse ( ) . ok ( ) )
17
17
. unwrap_or ( 10 ) ;
18
- let mut rng = thread_rng ( ) ;
19
- let port = rng. gen_range ( 30000 ..40000 ) ;
18
+ let mut rng = rand :: rng ( ) ;
19
+ let port = rng. random_range ( 30000 ..40000 ) ;
20
20
tokio_main ( n, port) ?;
21
21
std:: process:: exit ( 0 ) ;
22
22
}
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ fn main() -> anyhow::Result<()> {
19
19
. and_then ( |s| s. into_string ( ) . ok ( ) )
20
20
. and_then ( |s| s. parse ( ) . ok ( ) )
21
21
. unwrap_or ( 10 ) ;
22
- let mut rng = thread_rng ( ) ;
23
- let port = rng. gen_range ( 30000 ..40000 ) ;
22
+ let mut rng = rand :: rng ( ) ;
23
+ let port = rng. random_range ( 30000 ..40000 ) ;
24
24
tokio_main ( n, port) ?;
25
25
std:: process:: exit ( 0 ) ;
26
26
}
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ fn main() -> anyhow::Result<()> {
14
14
. and_then ( |s| s. into_string ( ) . ok ( ) )
15
15
. and_then ( |s| s. parse ( ) . ok ( ) )
16
16
. unwrap_or ( 10 ) ;
17
- let mut rng = thread_rng ( ) ;
18
- let port = rng. gen_range ( 30000 ..40000 ) ;
17
+ let mut rng = rand :: rng ( ) ;
18
+ let port = rng. random_range ( 30000 ..40000 ) ;
19
19
tokio_main ( n, port) ?;
20
20
std:: process:: exit ( 0 ) ;
21
21
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ environments:
12
12
- os : linux
13
13
compiler : go
14
14
version : latest
15
- docker : golang:1.23
15
+ docker : golang:1.24
16
16
env :
17
17
GOAMD64 : v3 # https://github.com/golang/go/wiki/MinimumRequirements#amd64
18
18
include : go
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ problems:
28
28
- 2.nim
29
29
- name : http-server
30
30
source :
31
- - 1.nim
31
+ # - 1.nim
32
32
- name : coro-prime-sieve
33
33
source :
34
34
- 1.nim
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ problems:
16
16
- name : spectral-norm
17
17
source :
18
18
- 1.zig
19
- - 2.zig
20
- - 2-m.zig
19
+ # - 2.zig
20
+ # - 2-m.zig
21
21
- name : pidigits
22
22
source :
23
23
- 1.zig
@@ -27,7 +27,7 @@ problems:
27
27
- name : fannkuch-redux
28
28
source :
29
29
- 1.zig
30
- - 2.zig
30
+ # - 2.zig
31
31
- 2-m.zig
32
32
- 3-i.zig
33
33
- name : fasta
@@ -63,6 +63,6 @@ environments:
63
63
version : latest
64
64
docker :
65
65
include : zig
66
- build : zig build -Dcpu=broadwell --verbose-llvm-cpu-features
66
+ build : zig build -Dcpu=broadwell # --verbose-llvm-cpu-features
67
67
out_dir : zig-out/bin
68
68
run_cmd : app
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ edition = "2021"
3
3
name = " _app"
4
4
version = " 0.1.0"
5
5
6
+ [workspace ]
7
+ resolver = " 3"
8
+
6
9
[features ]
7
10
default = []
8
11
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ edition = "2021"
3
3
name = " _app"
4
4
version = " 0.1.0"
5
5
6
+ [workspace ]
7
+ resolver = " 3"
8
+
6
9
[features ]
7
10
default = [
8
11
" wasm" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ edition = "2021"
3
3
name = " _app"
4
4
version = " 0.1.0"
5
5
6
+ [workspace ]
7
+ resolver = " 3"
8
+
6
9
[features ]
7
10
default = [
8
11
" async-std" ,
@@ -42,8 +45,8 @@ rayon = "1"
42
45
regex = " 1"
43
46
serde = { version = " 1" , features = [" derive" ] }
44
47
serde_json = { version = " 1" , features = [" float_roundtrip" , " preserve_order" ] }
45
- simd-json = " 0.14 "
46
- sonic-rs = " 0.3 "
48
+ simd-json = " 0.15 "
49
+ sonic-rs = " 0.4 "
47
50
static-rc = " 0"
48
51
49
52
async-channel = { version = " 2" , optional = true }
You can’t perform that action at this time.
0 commit comments