Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.performance
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
wendelin.performance
Commits
6dea2f02
Commit
6dea2f02
authored
Oct 15, 2015
by
Douglas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run read tests against all block formats
parent
92b1c118
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
performance_test_client.py
performance_test_client.py
+11
-8
No files found.
performance_test_client.py
View file @
6dea2f02
...
...
@@ -100,20 +100,23 @@ def build_table(results):
if
__name__
==
'__main__'
:
tests_to_run
=
argv
[
1
].
split
(
','
)
write_block_formats
=
[
'ZBlk0'
,
'ZBlk1'
]
cache_types
=
[
'Hot cache'
,
'Cold Cache'
]
# getting read results
if
'read'
in
tests_to_run
:
cache_types
=
[
'Hot Cache'
,
'Cold Cache'
]
for
block_format
in
write_block_formats
:
# running read tests for all formats in write_block_formats
run_write_tests
([
block_format
],
1
)
read_series
=
{}
for
cache_type
in
cache_types
:
results
=
run_read_tests
(
cache_type
=
cache_type
)
read_series
[
cache_type
]
=
get_series
(
results
)
print
'Read results:'
print
'Read results for format %s:'
%
block_format
print
build_table
(
read_series
)
# getting write results
if
'write'
in
tests_to_run
:
write_block_formats
=
[
'ZBlk0'
,
'ZBlk1'
]
write_series
=
{
'wendelin.core'
:
get_series
(
run_write_tests
(
write_block_formats
,
5
))}
print
'Write results:'
print
build_table
(
write_series
)
\ No newline at end of file
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