Skip to content

Commit 3057632

Browse files
ci: make polyform/isone benchmark actually do something
1 parent a467ed9 commit 3057632

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

benchmark/benchmarks.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ let
9494
(-f*(g + (-d*g) / d)) / (i + (-c*(h + (-e*g) / d)) / b + (-f*g) / d)) / d
9595
pform["simplify_fractions"] = @benchmarkable simplify_fractions($ex)
9696
pform["iszero"] = @benchmarkable SymbolicUtils.fraction_iszero($ex)
97-
pform["isone"] = @benchmarkable SymbolicUtils.fraction_isone($o)
97+
pform["isone"] = @benchmarkable SymbolicUtils.fraction_isone($ex)
98+
pform["isone:noop"] = @benchmarkable SymbolicUtils.fraction_isone($o)
99+
pform["iszero:noop"] = @benchmarkable SymbolicUtils.fraction_iszero($o)
98100
pform["easy_iszero"] = @benchmarkable SymbolicUtils.fraction_iszero($((b*(h + (-e*g) / d)) / b + (e*g) / d - h))
99101
end

0 commit comments

Comments
 (0)