Skip to content
Snippets Groups Projects
Verified Commit f1f2bc44 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

bench: increase switch benchmark

parent e71c4600
No related branches found
No related tags found
No related merge requests found
...@@ -44,3 +44,14 @@ cmd4 = "timeit quat.coeffs()" ...@@ -44,3 +44,14 @@ cmd4 = "timeit quat.coeffs()"
print(cmd4) print(cmd4)
ipython.magic(cmd4) ipython.magic(cmd4)
print("\n") print("\n")
cmd5 = "timeit np.asmatrix(quat.coeffs())"
print(cmd5)
ipython.magic(cmd5)
print("\n")
a_matrix = np.matrix(a);
cmd6 = "timeit np.asarray(a_matrix)"
print(cmd6)
ipython.magic(cmd6)
print("\n")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment