Skip to content

Commit e9e6d49

Browse files
simplify benchmark
1 parent 2b785bf commit e9e6d49

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

.github/workflows/world-benchmark.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,4 @@ jobs:
2222
go-version: '1.25.4'
2323

2424
- name: Perform the benchmark with 1 CPU
25-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=1
26-
27-
- name: Perform the benchmark with 2 CPU
28-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=2
29-
30-
- name: Perform the benchmark with 4 CPU
31-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=4
32-
33-
- name: Perform the benchmark with 8 CPU
34-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=8
35-
36-
- name: Perform the benchmark with 16 CPU
37-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=16
38-
39-
- name: Perform the benchmark with 32 CPU
40-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=32
41-
42-
- name: Perform the benchmark with 64 CPU
43-
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=64
25+
run: cd world && go test -bench=. -benchmem -benchtime=2s -cpu=1,2,4

0 commit comments

Comments
 (0)