Skip to content

Benchmark on latest Julia and scale back large-matrix benchmarking #1000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: 1.6
version: 1
- name: Install dependencies
run: julia -e 'using Pkg; pkg"add PkgBenchmark [email protected]"'
- name: Run benchmarks
4 changes: 2 additions & 2 deletions benchmark/bench_mat_mul.jl
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ mul_wrappers_reduced = [
(m -> Transpose(m), "transpo"),
(m -> Diagonal(m), "diag ")]

for N in [2, 4, 8, 10, 16]
for N in [2, 4, 8, 10, 12]

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

function run_1()
return full_benchmark(mul_wrappers_reduced, [2, 3, 4, 5, 8, 9, 14, 16])
return full_benchmark(mul_wrappers_reduced, [2, 3, 4, 5, 8, 9, 12])
end

end #module
2 changes: 1 addition & 1 deletion benchmark/bench_qr.jl
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ using StaticArrays

const suite = BenchmarkGroup()

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