summaryrefslogtreecommitdiff
path: root/scripts/legacy-vs-blobs
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-09-08 09:07:31 -0300
committerdrebs <drebs@riseup.net>2017-09-08 09:07:31 -0300
commit5d8b834cfb44a1c5f1cc9f4d5e2982f232e288e1 (patch)
tree2ab6d02d4f8aef88f228d6cbc3f5770ec2bfa4d4 /scripts/legacy-vs-blobs
parentcadedf3c2f4766437ec0c1c1462d6b13e11a3ad7 (diff)
[test] improve legacy vs blobs image
Diffstat (limited to 'scripts/legacy-vs-blobs')
-rw-r--r--scripts/legacy-vs-blobs/legacy-vs-blobs.pngbin28351 -> 38517 bytes
-rwxr-xr-xscripts/legacy-vs-blobs/legacy-vs-blobs.py14
2 files changed, 8 insertions, 6 deletions
diff --git a/scripts/legacy-vs-blobs/legacy-vs-blobs.png b/scripts/legacy-vs-blobs/legacy-vs-blobs.png
index 6de5bab8..99080238 100644
--- a/scripts/legacy-vs-blobs/legacy-vs-blobs.png
+++ b/scripts/legacy-vs-blobs/legacy-vs-blobs.png
Binary files differ
diff --git a/scripts/legacy-vs-blobs/legacy-vs-blobs.py b/scripts/legacy-vs-blobs/legacy-vs-blobs.py
index c10ac269..57a42376 100755
--- a/scripts/legacy-vs-blobs/legacy-vs-blobs.py
+++ b/scripts/legacy-vs-blobs/legacy-vs-blobs.py
@@ -22,10 +22,10 @@ OUTPUT_FILENAME = 'legacy-vs-blobs.png'
# The baseline values will be the legacy results in ./data/no-cache/.
graphs = [
- '1_10000k',
- '10_1000k',
- '100_100k',
'1000_10k',
+ '100_100k',
+ '10_1000k',
+ '1_10000k',
]
@@ -104,10 +104,12 @@ def plot_data(data):
rects4 = ax.bar(ind + (3 * width), persistent, width)
# add some text for labels, title and axes ticks
- ax.set_ylabel('Normalized execution time')
- ax.set_title('Legacy vs Blobs mail pipeline')
+ ax.set_ylabel('Ratio of time (legacy is baseline)')
+ ax.set_xlabel('Amount and size of email messages')
+ ax.set_title('Inbox loading time: legacy vs blobs mail pipeline')
ax.set_xticks(ind + (1.5 * width))
- ax.set_xticklabels(tuple(map(lambda name: name.replace('_', ' '), graphs)))
+ ax.set_xticklabels(
+ tuple(map(lambda name: name.replace('_', ' x '), graphs)))
ax.legend(
(rects1[0], rects2[0], rects3[0], rects4[0]),