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
65f2a1c6
Commit
65f2a1c6
authored
Oct 08, 2015
by
Douglas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added results for updated tests
parent
8c54b4f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
10 deletions
+53
-10
results_statistics.py
results_statistics.py
+53
-10
No files found.
results_statistics.py
View file @
65f2a1c6
...
...
@@ -2,27 +2,70 @@ from statistics import median, stdev
results
=
{}
# Data size is 250mb
# Read is how we call the process of reading all the data to calculate the
# sum of a column.
hot_cache_read
=
{
'name'
:
'Hot cache - read'
}
hot_cache_read
[
'data'
]
=
[
0.262673139572
,
0.277920007706
,
0.335688829422
,
0.263830900192
,
0.265268802643
]
cold_cache_read
=
{
'name'
:
'Cold cache - read'
}
#cold_cache_read['data'] = [0.843955993652, 0.802474975586, 0.990427970886, 0.795747995377, 0.807102918625]
cold_cache_read
[
'data'
]
=
[
1.63526105881
,
2.28860187531
,
1.74772405624
,
1.64203691483
,
1.85263895988
]
# --------- FORMAT 0 ---------
# --------- Pandas -----------
hot_cache_read_0_pandas
=
{
'name'
:
'Format 0 - Pandas - Hot cache - read'
}
hot_cache_read_0_pandas
[
'data'
]
=
[
0.268836975098
,
0.280472040176
,
0.289081096649
,
0.297116041183
,
0.273966789246
]
cold_cache_read_0_pandas
=
{
'name'
:
'Format 0 - Cold cache - read'
}
cold_cache_read_0_pandas
[
'data'
]
=
[
63.5034000874
,
66.1114599705
,
64.4692680836
,
62.5943498611
,
57.514384985
]
# --------- NumPy -----------
hot_cache_read_0_numpy
=
{
'name'
:
'Format 0 - NumPy - Hot cache - read'
}
hot_cache_read_0_numpy
[
'data'
]
=
[
0.0165619850159
,
0.0179328918457
,
0.0160620212555
,
0.0203459262848
,
0.017126083374
]
cold_cache_read_0_numpy
=
{
'name'
:
'Format 0 - NumPy - Cold cache - read'
}
cold_cache_read_0_numpy
[
'data'
]
=
[
57.818944931
,
66.3065798283
,
67.2626810074
,
68.1461188793
,
64.0724961758
]
# --------- FORMAT 1 ---------
# --------- Pandas -----------
hot_cache_read_1_pandas
=
{
'name'
:
'Format 1 - Pandas - Hot cache - read'
}
hot_cache_read_1_pandas
[
'data'
]
=
[
0.196627855301
,
0.205650091171
,
0.209545850754
,
0.288589000702
,
0.215779066086
]
cold_cache_read_1_pandas
=
{
'name'
:
'Format 1 - Cold cache - read'
}
cold_cache_read_1_pandas
[
'data'
]
=
[
65.1305730343
,
65.0622851849
,
63.2642118931
,
62.5943498611
,
67.4575021267
]
# --------- NumPy -----------
hot_cache_read_1_numpy
=
{
'name'
:
'Format 1 - NumPy - Hot cache - read'
}
hot_cache_read_1_numpy
[
'data'
]
=
[
0.0176479816437
,
0.016725063324
,
0.0190989971161
,
0.0153241157532
,
0.0148088932037
]
cold_cache_read_1_numpy
=
{
'name'
:
'Format 1 - NumPy -Cold cache - read'
}
cold_cache_read_1_numpy
[
'data'
]
=
[
62.6579291821
,
66.3065798283
,
66.8456640244
,
62.6478569508
,
61.6572990417
]
# -------- MariaDB ----------
mysql_hot_cache_read
=
{
'name'
:
'MySQL hot cache - read'
}
mysql_hot_cache_read
[
'data'
]
=
[
0.
15
,
0.14
,
0.15
,
0.15
,
0.15
]
mysql_hot_cache_read
[
'data'
]
=
[
0.
42
,
0.50
,
0.44
,
0.48
,
0.47
]
mysql_cold_cache_read
=
{
'name'
:
'MySQL cold cache - read'
}
mysql_cold_cache_read
[
'data'
]
=
[
0.53
,
0.57
,
0.39
,
0.42
,
0.46
]
mysql_cold_cache_read
[
'data'
]
=
[
2.67
,
2.47
,
1.39
,
3.04
,
2.03
]
# Write is how much time wendelin.core spend to write all data into the storage.
# It's not affected by cache.
write
=
{
'name'
:
'Write'
}
write
[
'data'
]
=
[
25.7491948605
,
25.300052166
,
25.1220777035
,
27.6381318569
,
25.0087022781
]
samples
=
[
hot_cache_read
,
cold_cache_read
,
mysql_hot_cache_read
,
mysql_cold_cache_read
,
write
]
# --------- FORMAT 0 ---------
write_0
=
{
'name'
:
'Format 0 - Write'
}
write_0
[
'data'
]
=
[
72.602396965
,
65.1651449203
,
70.1477439404
,
64.4070370197
,
65.0965659618
]
# --------- FORMAT 1 ---------
write_1
=
{
'name'
:
'Format 1 - Write'
}
write_1
[
'data'
]
=
[
69.884073019
,
64.7676539421
,
66.6788258553
,
65.2601249218
,
63.1648089886
]
samples
=
[
hot_cache_read_0_numpy
,
hot_cache_read_0_pandas
,
hot_cache_read_1_numpy
,
hot_cache_read_1_pandas
,
cold_cache_read_0_numpy
,
cold_cache_read_0_pandas
,
cold_cache_read_1_numpy
,
cold_cache_read_1_pandas
,
mysql_hot_cache_read
,
mysql_cold_cache_read
,
write_0
,
write_1
]
for
key
,
statistic_function
in
[[
'average'
,
median
],
[
'stdev'
,
stdev
],
[
'max'
,
max
],
[
'min'
,
min
]]:
for
sample
in
samples
:
...
...
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