Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
8e587545
Commit
8e587545
authored
Sep 01, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add starting time of each iteration
parent
3f52e2c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
erp5/util/benchmark/process.py
erp5/util/benchmark/process.py
+3
-1
No files found.
erp5/util/benchmark/process.py
View file @
8e587545
...
...
@@ -33,6 +33,7 @@ import os
import
logging
import
signal
import
sys
import
datetime
from
..testbrowser.browser
import
Browser
...
...
@@ -137,7 +138,8 @@ class BenchmarkProcess(multiprocessing.Process):
self
.
_browser
=
self
.
getBrowser
(
result_instance
.
log_file
)
while
self
.
_current_repeat
!=
(
self
.
_argument_namespace
.
repeat
+
1
):
self
.
_logger
.
info
(
"Iteration: %d"
%
self
.
_current_repeat
)
self
.
_logger
.
info
(
"%s: Iteration: %d"
%
(
datetime
.
datetime
.
now
(),
self
.
_current_repeat
))
self
.
runBenchmarkSuiteList
(
result
)
if
not
self
.
_current_repeat
%
RESULT_NUMBER_BEFORE_FLUSHING
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment