Skip to content

Commit 605e45f

Browse files
benchmark: add benchmark for printing a large polynomial
1 parent 807a47f commit 605e45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/benchmarks.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ let r = @rule(~x => ~x), rs = RuleSet([r]),
8383
# create a relatively large polynomial
8484
large_poly = SymbolicUtils.expand((x^2 + 2y1 + 3z12 + y2*z23 + x*y1*z12 - x^2*z12 + x*z11 + y3 + y2 + z23 + 1)^8)
8585
overhead["get_degrees"]["large_poly"] = @benchmarkable SymbolicUtils.get_degrees($large_poly)
86+
SUITE["printing"]["large_poly"] = @benchmarkable show(devnull, $large_poly)
8687
end
8788
end
8889

0 commit comments

Comments
 (0)