Skip to content

Commit

Permalink
Merge pull request #42 from stvoutsin/feature/verbose
Browse files Browse the repository at this point in the history
Remove print statements alltogether
  • Loading branch information
stvoutsin authored Jan 31, 2023
2 parents 3be0262 + 87422f9 commit d7dc6ea
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions aglais_benchmark/aglais_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,22 +190,12 @@ def run(self, concurrent=False, users=1, delay_start=0, delay_notebook=0, delete

results = []
if concurrent:
if self.verbose:
print ("Test started [Multi User]")
results = self._run_parallel(users, delay_start, delay_notebook, delete)
else:
if self.verbose:
print ("Test started [Single User]")

results = self._run_single(0, False, delay_start, delay_notebook, delete)

end = time.time()

if self.verbose:
print ("Test completed! ({:.2f} seconds)".format(end-start))

# print ("------------ Test Result: [" + result + "] ------------")

print (json.dumps(results))

return results
Expand Down

0 comments on commit d7dc6ea

Please sign in to comment.