Skip to content

Instantly share code, notes, and snippets.

@denius

denius/perf-qr.jl

Created Oct 30, 2017
Embed
What would you like to do?
QR benchmark
using StaticArrays
using BenchmarkTools, Compat
a = m = 0
for K = 1:18
a = rand(SMatrix{K,K,Float64,K*K})
m = Matrix(a)
print("K=$K\n")
@time qr(a)
@btime qr($a)
@btime qr($m)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.