Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jverzani committed Nov 21, 2023
1 parent 8884fcd commit 1afa947
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ SUITE["creation"]["Sym","number"] = @benchmarkable Sym(2)
SUITE["creation"]["Sym","boolean"] = @benchmarkable Sym(true)


@syms x::real
SUITE["expand"]["expression","call"] = @benchmarkable sin(x)
SUITE["expand"]["expression","sympy call"] = @benchmarkable sympy.expand_trig(sin(2x))
SUITE["expand"]["expression","promotion"] = @benchmarkable x^2 - x + inv(x) - 1/x^2
SUITE["expand"]["expression","call"] = @benchmarkable sin(x) setup=(x=symbols("x"))
SUITE["expand"]["expression","sympy call"] = @benchmarkable sympy.expand_trig(sin(2x)) setup=(x=symbols("x"))
SUITE["expand"]["expression","promotion"] = @benchmarkable x^2 - x + inv(x) - 1/x^2 setup=(x=symbols("x"))

SUITE["expand"]["n",5] = @benchmarkable expand((x-a)^5)
SUITE["expand"]["n",50] = @benchmarkable expand((x-a)^50)
SUITE["expand"]["n",5] = @benchmarkable expand((x-a)^5) setup=(x=symbols("x"))
SUITE["expand"]["n",50] = @benchmarkable expand((x-a)^50) setup=(x=symbols("x"))

0 comments on commit 1afa947

Please sign in to comment.