Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
a1d27747
Commit
a1d27747
authored
Aug 09, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
benchmark: process: Force flush after each suite.
parent
0a833853
Changes
1
Hide 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 @
a1d27747
...
...
@@ -37,6 +37,7 @@ from ..testbrowser.browser import Browser
from
.result
import
NothingFlushedException
REPEAT_NUMBER_BEFORE_FLUSHING
=
1
FORCE_FLUSH_AFTER_EACH_SUITE
=
True
class
BenchmarkProcess
(
multiprocessing
.
Process
):
def
__init__
(
self
,
exit_msg_queue
,
result_klass
,
argument_namespace
,
...
...
@@ -124,9 +125,10 @@ class BenchmarkProcess(multiprocessing.Process):
try
:
self
.
_logger
.
info
(
str
(
result
.
getCurrentSuiteUseCaseStat
()))
if
FORCE_FLUSH_AFTER_EACH_SUITE
:
result
.
flush
()
except
:
pass
result
.
iterationFinished
()
def
run
(
self
):
...
...
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