Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/benchmark.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ affinity =
# disabled.
upload = False

# --rigorous option for 'pyperformance run'
rigorous = False

# Configuration to upload results to a Codespeed website
[upload]
Expand Down
3 changes: 3 additions & 0 deletions pyperformance/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ def run_benchmark(self, python=None):
cmd.append("--debug-single-value")
if self.conf.same_loops:
cmd.append("--same_loops=%s" % self.conf.same_loops)
if self.conf.rigorous:
cmd.append("--rigorous")
exitcode = self.run_nocheck(*cmd)

if os.path.exists(self.filename):
Expand Down Expand Up @@ -842,6 +844,7 @@ def getint(section, key, default=None):
conf.affinity = getstr("run_benchmark", "affinity", default="")
conf.upload = getboolean("run_benchmark", "upload", False)
conf.same_loops = getfile("run_benchmark", "same_loops", default="")
conf.rigorous = getboolean("run_benchmark", "rigorous", False)

# paths
conf.build_dir = os.path.join(conf.directory, "build")
Expand Down