Skip to content

Commit

Permalink
Fix the randmatstat python microbenchmark (#24089)
Browse files Browse the repository at this point in the history
Fix #23741
  • Loading branch information
ViralBShah authored Oct 10, 2017
1 parent 08dd631 commit 8afbe45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/perf/micro/perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ def randmatstat(t):
n = 5
v = zeros(t)
w = zeros(t)
for i in range(1,t):
for i in range(t):
a = randn(n, n)
b = randn(n, n)
c = randn(n, n)
d = randn(n, n)
P = concatenate((a, b, c, d))
Q = concatenate((concatenate((a, b)), concatenate((c, d))),axis=1)
P = concatenate((a, b, c, d), axis=1)
Q = concatenate((concatenate((a, b), axis=1), concatenate((c, d), axis=1)), axis=0)
v[i] = trace(matrix_power(dot(P.T,P), 4))
w[i] = trace(matrix_power(dot(Q.T,Q), 4))
return (std(v)/mean(v), std(w)/mean(w))
Expand Down

2 comments on commit 8afbe45

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something went wrong when running your job:

NanosoldierError: failed to run benchmarks against primary commit: stored type BenchmarkTools.ParametersPreV006 does not match currently loaded type

Logs and partial data can be found here
cc @ararslan

Please sign in to comment.