Skip to content

Commit 650729d

Browse files
authored
benchmark on latest release and reduce benchmarks of very large matrices (#1000)
1 parent f36bd64 commit 650729d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: julia-actions/setup-julia@latest
1212
with:
13-
version: 1.6
13+
version: 1
1414
- name: Install dependencies
1515
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"'
1616
- name: Run benchmarks

benchmark/bench_mat_mul.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mul_wrappers_reduced = [
2626
(m -> Transpose(m), "transpo"),
2727
(m -> Diagonal(m), "diag ")]
2828

29-
for N in [2, 4, 8, 10, 16]
29+
for N in [2, 4, 8, 10, 12]
3030

3131
matvecstr = @sprintf("mat-vec %2d", N)
3232
matmatstr = @sprintf("mat-mat %2d", N)
@@ -205,7 +205,7 @@ function pick_best(results, mul_wrappers, size_iter; tol = 1.2)
205205
end
206206

207207
function run_1()
208-
return full_benchmark(mul_wrappers_reduced, [2, 3, 4, 5, 8, 9, 14, 16])
208+
return full_benchmark(mul_wrappers_reduced, [2, 3, 4, 5, 8, 9, 12])
209209
end
210210

211211
end #module

benchmark/bench_qr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using StaticArrays
66

77
const suite = BenchmarkGroup()
88

9-
for K = 1:22
9+
for K = [2, 3, 4, 8, 10, 12]
1010
a = rand(SMatrix{K,K,Float64,K*K})
1111
m = Matrix(a)
1212
s = suite["S=$K"] = BenchmarkGroup()

0 commit comments

Comments
 (0)