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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
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
...
@@ -33,6 +33,7 @@ import os
import
logging
import
logging
import
signal
import
signal
import
sys
import
sys
import
datetime
from
..testbrowser.browser
import
Browser
from
..testbrowser.browser
import
Browser
...
@@ -137,7 +138,8 @@ class BenchmarkProcess(multiprocessing.Process):
...
@@ -137,7 +138,8 @@ class BenchmarkProcess(multiprocessing.Process):
self
.
_browser
=
self
.
getBrowser
(
result_instance
.
log_file
)
self
.
_browser
=
self
.
getBrowser
(
result_instance
.
log_file
)
while
self
.
_current_repeat
!=
(
self
.
_argument_namespace
.
repeat
+
1
):
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
)
self
.
runBenchmarkSuiteList
(
result
)
if
not
self
.
_current_repeat
%
RESULT_NUMBER_BEFORE_FLUSHING
:
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