Skip to content

Commit

Permalink
Make polys/solve benchmarks smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbenjamin committed Mar 31, 2020
1 parent e320fe9 commit 7338b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmarks/polys.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class TimePolyManyGens:
"""Time using a Poly with many generators"""

params = [1, 10, 100, 500, 1000]
params = [1, 10, 100, 500]

def setup(self, n):
self.xs = sympy.symbols('x:{}'.format(n))
Expand Down
3 changes: 1 addition & 2 deletions benchmarks/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class TimeRationalSystem:

syms = sympy.symbols('x:20')

params = [1, 3, 5, 10, 20]
params = [1, 3, 5, 10]

def setup(self, n):
Mn = self.M[:n, :n+1]
Expand All @@ -101,7 +101,6 @@ def time_linsolve(self, n):
class TimeRationalSystemSymbol(TimeRationalSystem):
"""Solve a dense system of linear equations with a symbol in coefficients"""


def setup(self, n):
super().setup(n)
y = sympy.Symbol('y')
Expand Down

0 comments on commit 7338b07

Please sign in to comment.