Version 2.0.2.

This commit is contained in:
Bertrand Bordage 2018-07-27 20:27:56 +02:00
parent ced95ad3fb
commit 2b8f001a21
15 changed files with 5852 additions and 5844 deletions

View file

@ -1,6 +1,14 @@
Whats new in django-cachalot?
==============================
2.0.2
-----
- Adds support for ``.union``, ``.intersection`` & ``.difference``
that should have been introduced since 1.5.0
- Fixes error raised in some rare and undetermined cases, when the cache
backend doesnt yield data as expected
2.0.1
-----

View file

@ -215,7 +215,7 @@ class Benchmark(object):
self.output('cache')
def output(self, param):
gp = self.df.groupby(('context', 'query', param))['time']
gp = self.df.groupby(['context', 'query', param])['time']
self.means = gp.mean().unstack().unstack().reindex(CONTEXTS)
los = self.means - gp.min().unstack().unstack().reindex(CONTEXTS)
ups = gp.max().unstack().unstack().reindex(CONTEXTS) - self.means
@ -229,7 +229,7 @@ class Benchmark(object):
self.get_perfs(param)
self.plot_detail(param)
gp = self.df.groupby(('context', param))['time']
gp = self.df.groupby(['context', param])['time']
self.means = gp.mean().unstack().reindex(CONTEXTS)
los = self.means - gp.min().unstack().reindex(CONTEXTS)
ups = gp.max().unstack().reindex(CONTEXTS) - self.means

View file

@ -27,121 +27,121 @@ z
" style="fill:#ffffff;"/>
</g>
<g id="patch_3">
<path clip-path="url(#pc4d633845d)" d="M 57.6 63.648
L 122.485815 63.648
L 122.485815 72.5184
<path clip-path="url(#pda50b4a172)" d="M 57.6 63.648
L 120.933664 63.648
L 120.933664 72.5184
L 57.6 72.5184
z
" style="fill:#1f77b4;"/>
</g>
<g id="patch_4">
<path clip-path="url(#pc4d633845d)" d="M 57.6 152.352
L 131.259492 152.352
L 131.259492 161.2224
<path clip-path="url(#pda50b4a172)" d="M 57.6 152.352
L 129.883186 152.352
L 129.883186 161.2224
L 57.6 161.2224
z
" style="fill:#1f77b4;"/>
</g>
<g id="patch_5">
<path clip-path="url(#pc4d633845d)" d="M 57.6 241.056
L 69.520349 241.056
L 69.520349 249.9264
<path clip-path="url(#pda50b4a172)" d="M 57.6 241.056
L 69.167833 241.056
L 69.167833 249.9264
L 57.6 249.9264
z
" style="fill:#1f77b4;"/>
</g>
<g id="patch_6">
<path clip-path="url(#pc4d633845d)" d="M 57.6 72.5184
L 122.747764 72.5184
L 122.747764 81.3888
<path clip-path="url(#pda50b4a172)" d="M 57.6 72.5184
L 121.840518 72.5184
L 121.840518 81.3888
L 57.6 81.3888
z
" style="fill:#ff7f0e;"/>
</g>
<g id="patch_7">
<path clip-path="url(#pc4d633845d)" d="M 57.6 161.2224
L 127.581731 161.2224
L 127.581731 170.0928
<path clip-path="url(#pda50b4a172)" d="M 57.6 161.2224
L 127.531133 161.2224
L 127.531133 170.0928
L 57.6 170.0928
z
" style="fill:#ff7f0e;"/>
</g>
<g id="patch_8">
<path clip-path="url(#pc4d633845d)" d="M 57.6 249.9264
L 68.848147 249.9264
L 68.848147 258.7968
<path clip-path="url(#pda50b4a172)" d="M 57.6 249.9264
L 68.822031 249.9264
L 68.822031 258.7968
L 57.6 258.7968
z
" style="fill:#ff7f0e;"/>
</g>
<g id="patch_9">
<path clip-path="url(#pc4d633845d)" d="M 57.6 81.3888
L 121.741593 81.3888
L 121.741593 90.2592
<path clip-path="url(#pda50b4a172)" d="M 57.6 81.3888
L 121.270191 81.3888
L 121.270191 90.2592
L 57.6 90.2592
z
" style="fill:#2ca02c;"/>
</g>
<g id="patch_10">
<path clip-path="url(#pc4d633845d)" d="M 57.6 170.0928
L 129.077595 170.0928
L 129.077595 178.9632
<path clip-path="url(#pda50b4a172)" d="M 57.6 170.0928
L 129.2973 170.0928
L 129.2973 178.9632
L 57.6 178.9632
z
" style="fill:#2ca02c;"/>
</g>
<g id="patch_11">
<path clip-path="url(#pc4d633845d)" d="M 57.6 258.7968
L 69.854419 258.7968
L 69.854419 267.6672
<path clip-path="url(#pda50b4a172)" d="M 57.6 258.7968
L 69.577601 258.7968
L 69.577601 267.6672
L 57.6 267.6672
z
" style="fill:#2ca02c;"/>
</g>
<g id="patch_12">
<path clip-path="url(#pc4d633845d)" d="M 57.6 90.2592
L 122.468847 90.2592
L 122.468847 99.1296
<path clip-path="url(#pda50b4a172)" d="M 57.6 90.2592
L 120.198359 90.2592
L 120.198359 99.1296
L 57.6 99.1296
z
" style="fill:#d62728;"/>
</g>
<g id="patch_13">
<path clip-path="url(#pc4d633845d)" d="M 57.6 178.9632
L 129.076164 178.9632
L 129.076164 187.8336
<path clip-path="url(#pda50b4a172)" d="M 57.6 178.9632
L 126.217906 178.9632
L 126.217906 187.8336
L 57.6 187.8336
z
" style="fill:#d62728;"/>
</g>
<g id="patch_14">
<path clip-path="url(#pc4d633845d)" d="M 57.6 267.6672
L 69.581279 267.6672
L 69.581279 276.5376
<path clip-path="url(#pda50b4a172)" d="M 57.6 267.6672
L 68.909889 267.6672
L 68.909889 276.5376
L 57.6 276.5376
z
" style="fill:#d62728;"/>
</g>
<g id="patch_15">
<path clip-path="url(#pc4d633845d)" d="M 57.6 99.1296
L 124.119517 99.1296
L 124.119517 108
<path clip-path="url(#pda50b4a172)" d="M 57.6 99.1296
L 121.993429 99.1296
L 121.993429 108
L 57.6 108
z
" style="fill:#9467bd;"/>
</g>
<g id="patch_16">
<path clip-path="url(#pc4d633845d)" d="M 57.6 187.8336
L 131.907611 187.8336
L 131.907611 196.704
<path clip-path="url(#pda50b4a172)" d="M 57.6 187.8336
L 129.954763 187.8336
L 129.954763 196.704
L 57.6 196.704
z
" style="fill:#9467bd;"/>
</g>
<g id="patch_17">
<path clip-path="url(#pc4d633845d)" d="M 57.6 276.5376
L 70.259959 276.5376
L 70.259959 285.408
<path clip-path="url(#pda50b4a172)" d="M 57.6 276.5376
L 69.771589 276.5376
L 69.771589 285.408
L 57.6 285.408
z
" style="fill:#9467bd;"/>
@ -149,7 +149,7 @@ z
<g id="matplotlib.axis_1">
<g id="xtick_1">
<g id="line2d_1">
<path clip-path="url(#pc4d633845d)" d="M 57.6 307.584
<path clip-path="url(#pda50b4a172)" d="M 57.6 307.584
L 57.6 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
@ -157,10 +157,10 @@ L 57.6 41.472
<defs>
<path d="M 0 0
L 0 3.5
" id="m89d396c35d" style="stroke:#000000;stroke-width:0.8;"/>
" id="m74d63865a8" style="stroke:#000000;stroke-width:0.8;"/>
</defs>
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_1">
@ -205,13 +205,13 @@ z
</g>
<g id="xtick_2">
<g id="line2d_3">
<path clip-path="url(#pc4d633845d)" d="M 97.670235 307.584
L 97.670235 41.472
<path clip-path="url(#pda50b4a172)" d="M 98.13305 307.584
L 98.13305 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_4">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="97.670235" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="98.13305" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_2">
@ -242,7 +242,7 @@ Q 14.890625 38.140625 10.796875 36.28125
z
" id="DejaVuSans-35"/>
</defs>
<g transform="translate(83.356172 322.182437)scale(0.1 -0.1)">
<g transform="translate(83.818988 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -253,13 +253,13 @@ z
</g>
<g id="xtick_3">
<g id="line2d_5">
<path clip-path="url(#pc4d633845d)" d="M 137.740469 307.584
L 137.740469 41.472
<path clip-path="url(#pda50b4a172)" d="M 138.6661 307.584
L 138.6661 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_6">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="137.740469" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="138.6661" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_3">
@ -279,7 +279,7 @@ L 12.40625 0
z
" id="DejaVuSans-31"/>
</defs>
<g transform="translate(123.426407 322.182437)scale(0.1 -0.1)">
<g transform="translate(124.352038 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -290,18 +290,18 @@ z
</g>
<g id="xtick_4">
<g id="line2d_7">
<path clip-path="url(#pc4d633845d)" d="M 177.810704 307.584
L 177.810704 41.472
<path clip-path="url(#pda50b4a172)" d="M 179.19915 307.584
L 179.19915 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_8">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="177.810704" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="179.19915" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_4">
<!-- 0.015 -->
<g transform="translate(163.496641 322.182437)scale(0.1 -0.1)">
<g transform="translate(164.885088 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -312,13 +312,13 @@ L 177.810704 41.472
</g>
<g id="xtick_5">
<g id="line2d_9">
<path clip-path="url(#pc4d633845d)" d="M 217.880938 307.584
L 217.880938 41.472
<path clip-path="url(#pda50b4a172)" d="M 219.7322 307.584
L 219.7322 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_10">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="217.880938" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="219.7322" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_5">
@ -349,7 +349,7 @@ Q 31.109375 20.453125 19.1875 8.296875
z
" id="DejaVuSans-32"/>
</defs>
<g transform="translate(203.566876 322.182437)scale(0.1 -0.1)">
<g transform="translate(205.418138 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -360,18 +360,18 @@ z
</g>
<g id="xtick_6">
<g id="line2d_11">
<path clip-path="url(#pc4d633845d)" d="M 257.951173 307.584
L 257.951173 41.472
<path clip-path="url(#pda50b4a172)" d="M 260.26525 307.584
L 260.26525 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_12">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="257.951173" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="260.26525" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_6">
<!-- 0.025 -->
<g transform="translate(243.63711 322.182437)scale(0.1 -0.1)">
<g transform="translate(245.951188 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -382,13 +382,13 @@ L 257.951173 41.472
</g>
<g id="xtick_7">
<g id="line2d_13">
<path clip-path="url(#pc4d633845d)" d="M 298.021407 307.584
L 298.021407 41.472
<path clip-path="url(#pda50b4a172)" d="M 300.798301 307.584
L 300.798301 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_14">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="298.021407" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="300.798301" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_7">
@ -427,7 +427,7 @@ Q 46.96875 40.921875 40.578125 39.3125
z
" id="DejaVuSans-33"/>
</defs>
<g transform="translate(283.707345 322.182437)scale(0.1 -0.1)">
<g transform="translate(286.484238 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -438,18 +438,18 @@ z
</g>
<g id="xtick_8">
<g id="line2d_15">
<path clip-path="url(#pc4d633845d)" d="M 338.091642 307.584
L 338.091642 41.472
<path clip-path="url(#pda50b4a172)" d="M 341.331351 307.584
L 341.331351 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_16">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="338.091642" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="341.331351" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_8">
<!-- 0.035 -->
<g transform="translate(323.777579 322.182437)scale(0.1 -0.1)">
<g transform="translate(327.017288 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -460,13 +460,13 @@ L 338.091642 41.472
</g>
<g id="xtick_9">
<g id="line2d_17">
<path clip-path="url(#pc4d633845d)" d="M 378.161876 307.584
L 378.161876 41.472
<path clip-path="url(#pda50b4a172)" d="M 381.864401 307.584
L 381.864401 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_18">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="378.161876" xlink:href="#m89d396c35d" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="381.864401" xlink:href="#m74d63865a8" y="307.584"/>
</g>
</g>
<g id="text_9">
@ -490,7 +490,7 @@ L 4.890625 26.703125
z
" id="DejaVuSans-34"/>
</defs>
<g transform="translate(363.847814 322.182437)scale(0.1 -0.1)">
<g transform="translate(367.550338 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -653,10 +653,10 @@ z
<defs>
<path d="M 0 0
L -3.5 0
" id="mf8a814d7ff" style="stroke:#000000;stroke-width:0.8;"/>
" id="m241944fe27" style="stroke:#000000;stroke-width:0.8;"/>
</defs>
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#mf8a814d7ff" y="85.824"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m241944fe27" y="85.824"/>
</g>
</g>
<g id="text_11">
@ -780,7 +780,7 @@ z
<g id="ytick_2">
<g id="line2d_20">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#mf8a814d7ff" y="174.528"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m241944fe27" y="174.528"/>
</g>
</g>
<g id="text_12">
@ -902,7 +902,7 @@ z
<g id="ytick_3">
<g id="line2d_21">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#mf8a814d7ff" y="263.232"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m241944fe27" y="263.232"/>
</g>
</g>
<g id="text_13">
@ -938,58 +938,58 @@ z
</g>
</g>
<g id="LineCollection_1">
<path clip-path="url(#pc4d633845d)" d="M 59.346378 68.0832
L 379.130294 68.0832
<path clip-path="url(#pda50b4a172)" d="M 59.358817 68.0832
L 275.869247 68.0832
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 62.980525 156.7872
L 411.184158 156.7872
<path clip-path="url(#pda50b4a172)" d="M 62.886116 156.7872
L 298.241019 156.7872
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 59.757178 245.4912
L 118.20542 245.4912
<path clip-path="url(#pda50b4a172)" d="M 59.789824 245.4912
L 113.404765 245.4912
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="LineCollection_2">
<path clip-path="url(#pc4d633845d)" d="M 59.40752 76.9536
L 296.257604 76.9536
<path clip-path="url(#pda50b4a172)" d="M 59.37428 76.9536
L 410.958025 76.9536
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 61.285736 165.6576
L 298.105249 165.6576
<path clip-path="url(#pda50b4a172)" d="M 61.107971 165.6576
L 411.184158 165.6576
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 59.418984 254.3616
L 110.94859 254.3616
<path clip-path="url(#pda50b4a172)" d="M 59.453523 254.3616
L 120.731883 254.3616
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="LineCollection_3">
<path clip-path="url(#pc4d633845d)" d="M 59.306253 85.824
L 317.242796 85.824
<path clip-path="url(#pda50b4a172)" d="M 59.26991 85.824
L 351.875287 85.824
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 61.79016 174.528
L 304.311195 174.528
<path clip-path="url(#pda50b4a172)" d="M 61.550575 174.528
L 400.302683 174.528
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 59.92914 263.232
L 126.251367 263.232
<path clip-path="url(#pda50b4a172)" d="M 59.942513 263.232
L 133.34705 263.232
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="LineCollection_4">
<path clip-path="url(#pc4d633845d)" d="M 59.315807 94.6944
L 282.588473 94.6944
<path clip-path="url(#pda50b4a172)" d="M 59.347221 94.6944
L 308.28174 94.6944
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 61.358342 183.3984
L 324.232129 183.3984
<path clip-path="url(#pda50b4a172)" d="M 61.243265 183.3984
L 290.115668 183.3984
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 59.440002 272.1024
L 124.556579 272.1024
<path clip-path="url(#pda50b4a172)" d="M 59.447725 272.1024
L 123.420361 272.1024
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="LineCollection_5">
<path clip-path="url(#pc4d633845d)" d="M 59.35211 103.5648
L 277.59582 103.5648
<path clip-path="url(#pda50b4a172)" d="M 59.341423 103.5648
L 282.488972 103.5648
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 62.495207 192.2688
L 338.856609 192.2688
<path clip-path="url(#pda50b4a172)" d="M 62.138136 192.2688
L 308.341656 192.2688
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#pc4d633845d)" d="M 60.152692 280.9728
L 116.382614 280.9728
<path clip-path="url(#pda50b4a172)" d="M 59.948311 280.9728
L 113.130313 280.9728
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="patch_18">
@ -1232,7 +1232,7 @@ z
</g>
</g>
<defs>
<clipPath id="pc4d633845d">
<clipPath id="pda50b4a172">
<rect height="266.112" width="357.12" x="57.6" y="41.472"/>
</clipPath>
</defs>

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View file

@ -1,5 +1,5 @@
- filebased is 1.1× slower then 5.4× faster
- locmem is 1.1× slower then 5.8× faster
- memcached is 1.1× slower then 5.2× faster
- pylibmc is 1.1× slower then 5.4× faster
- filebased is 1.1× slower then 5.5× faster
- locmem is 1.1× slower then 5.7× faster
- memcached is 1.1× slower then 5.3× faster
- pylibmc is 1.1× slower then 5.5× faster
- redis is 1.1× slower then 5.3× faster

View file

@ -6,13 +6,13 @@ RAM 24634516 kB
Disk SAMSUNG MZVPW256HEGL-00000
Linux distribution Ubuntu 18.04 bionic
Python 3.6.5
Django 2.0.5
cachalot 2.0.0
Django 2.0.7
cachalot 2.0.2
sqlite 3.22.0
PostgreSQL 10.3
PostgreSQL 10.4
MySQL 5.7.22
Redis 4.0.9
memcached 1.5.6
psycopg2 2.7.4
mysqlclient 1.3.12
psycopg2 2.7.5
mysqlclient 1.3.13
==================== ==================================================

View file

@ -27,73 +27,73 @@ z
" style="fill:#ffffff;"/>
</g>
<g id="patch_3">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 63.648
L 105.989933 63.648
L 105.989933 78.432
<path clip-path="url(#p2be411610b)" d="M 57.6 63.648
L 103.867586 63.648
L 103.867586 78.432
L 57.6 78.432
z
" style="fill:#1f77b4;"/>
</g>
<g id="patch_4">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 152.352
L 112.635346 152.352
L 112.635346 167.136
<path clip-path="url(#p2be411610b)" d="M 57.6 152.352
L 110.593109 152.352
L 110.593109 167.136
L 57.6 167.136
z
" style="fill:#1f77b4;"/>
</g>
<g id="patch_5">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 241.056
L 70.124561 241.056
L 70.124561 255.84
<path clip-path="url(#p2be411610b)" d="M 57.6 241.056
L 69.474448 241.056
L 69.474448 255.84
L 57.6 255.84
z
" style="fill:#1f77b4;"/>
</g>
<g id="patch_6">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 78.432
L 149.107214 78.432
L 149.107214 93.216
<path clip-path="url(#p2be411610b)" d="M 57.6 78.432
L 147.749545 78.432
L 147.749545 93.216
L 57.6 93.216
z
" style="fill:#ff7f0e;"/>
</g>
<g id="patch_7">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 167.136
L 155.484655 167.136
L 155.484655 181.92
<path clip-path="url(#p2be411610b)" d="M 57.6 167.136
L 154.920023 167.136
L 154.920023 181.92
L 57.6 181.92
z
" style="fill:#ff7f0e;"/>
</g>
<g id="patch_8">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 255.84
L 68.216768 255.84
L 68.216768 270.624
<path clip-path="url(#p2be411610b)" d="M 57.6 255.84
L 68.079714 255.84
L 68.079714 270.624
L 57.6 270.624
z
" style="fill:#ff7f0e;"/>
</g>
<g id="patch_9">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 93.216
L 113.040974 93.216
L 113.040974 108
<path clip-path="url(#p2be411610b)" d="M 57.6 93.216
L 112.124565 93.216
L 112.124565 108
L 57.6 108
z
" style="fill:#2ca02c;"/>
</g>
<g id="patch_10">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 181.92
L 121.221555 181.92
L 121.221555 196.704
<path clip-path="url(#p2be411610b)" d="M 57.6 181.92
L 120.21744 181.92
L 120.21744 196.704
L 57.6 196.704
z
" style="fill:#2ca02c;"/>
</g>
<g id="patch_11">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 270.624
L 70.497163 270.624
L 70.497163 285.408
<path clip-path="url(#p2be411610b)" d="M 57.6 270.624
L 70.195203 270.624
L 70.195203 285.408
L 57.6 285.408
z
" style="fill:#2ca02c;"/>
@ -101,7 +101,7 @@ z
<g id="matplotlib.axis_1">
<g id="xtick_1">
<g id="line2d_1">
<path clip-path="url(#p7f92614eb2)" d="M 57.6 307.584
<path clip-path="url(#p2be411610b)" d="M 57.6 307.584
L 57.6 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
@ -109,10 +109,10 @@ L 57.6 41.472
<defs>
<path d="M 0 0
L 0 3.5
" id="ma60bd0e48c" style="stroke:#000000;stroke-width:0.8;"/>
" id="m59599e50f7" style="stroke:#000000;stroke-width:0.8;"/>
</defs>
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_1">
@ -157,13 +157,13 @@ z
</g>
<g id="xtick_2">
<g id="line2d_3">
<path clip-path="url(#p7f92614eb2)" d="M 97.670235 307.584
L 97.670235 41.472
<path clip-path="url(#p2be411610b)" d="M 98.13305 307.584
L 98.13305 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_4">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="97.670235" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="98.13305" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_2">
@ -194,7 +194,7 @@ Q 14.890625 38.140625 10.796875 36.28125
z
" id="DejaVuSans-35"/>
</defs>
<g transform="translate(83.356172 322.182437)scale(0.1 -0.1)">
<g transform="translate(83.818988 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -205,13 +205,13 @@ z
</g>
<g id="xtick_3">
<g id="line2d_5">
<path clip-path="url(#p7f92614eb2)" d="M 137.740469 307.584
L 137.740469 41.472
<path clip-path="url(#p2be411610b)" d="M 138.6661 307.584
L 138.6661 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_6">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="137.740469" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="138.6661" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_3">
@ -231,7 +231,7 @@ L 12.40625 0
z
" id="DejaVuSans-31"/>
</defs>
<g transform="translate(123.426407 322.182437)scale(0.1 -0.1)">
<g transform="translate(124.352038 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -242,18 +242,18 @@ z
</g>
<g id="xtick_4">
<g id="line2d_7">
<path clip-path="url(#p7f92614eb2)" d="M 177.810704 307.584
L 177.810704 41.472
<path clip-path="url(#p2be411610b)" d="M 179.19915 307.584
L 179.19915 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_8">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="177.810704" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="179.19915" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_4">
<!-- 0.015 -->
<g transform="translate(163.496641 322.182437)scale(0.1 -0.1)">
<g transform="translate(164.885088 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -264,13 +264,13 @@ L 177.810704 41.472
</g>
<g id="xtick_5">
<g id="line2d_9">
<path clip-path="url(#p7f92614eb2)" d="M 217.880938 307.584
L 217.880938 41.472
<path clip-path="url(#p2be411610b)" d="M 219.7322 307.584
L 219.7322 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_10">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="217.880938" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="219.7322" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_5">
@ -301,7 +301,7 @@ Q 31.109375 20.453125 19.1875 8.296875
z
" id="DejaVuSans-32"/>
</defs>
<g transform="translate(203.566876 322.182437)scale(0.1 -0.1)">
<g transform="translate(205.418138 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -312,18 +312,18 @@ z
</g>
<g id="xtick_6">
<g id="line2d_11">
<path clip-path="url(#p7f92614eb2)" d="M 257.951173 307.584
L 257.951173 41.472
<path clip-path="url(#p2be411610b)" d="M 260.26525 307.584
L 260.26525 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_12">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="257.951173" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="260.26525" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_6">
<!-- 0.025 -->
<g transform="translate(243.63711 322.182437)scale(0.1 -0.1)">
<g transform="translate(245.951188 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -334,13 +334,13 @@ L 257.951173 41.472
</g>
<g id="xtick_7">
<g id="line2d_13">
<path clip-path="url(#p7f92614eb2)" d="M 298.021407 307.584
L 298.021407 41.472
<path clip-path="url(#p2be411610b)" d="M 300.798301 307.584
L 300.798301 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_14">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="298.021407" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="300.798301" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_7">
@ -379,7 +379,7 @@ Q 46.96875 40.921875 40.578125 39.3125
z
" id="DejaVuSans-33"/>
</defs>
<g transform="translate(283.707345 322.182437)scale(0.1 -0.1)">
<g transform="translate(286.484238 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -390,18 +390,18 @@ z
</g>
<g id="xtick_8">
<g id="line2d_15">
<path clip-path="url(#p7f92614eb2)" d="M 338.091642 307.584
L 338.091642 41.472
<path clip-path="url(#p2be411610b)" d="M 341.331351 307.584
L 341.331351 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_16">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="338.091642" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="341.331351" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_8">
<!-- 0.035 -->
<g transform="translate(323.777579 322.182437)scale(0.1 -0.1)">
<g transform="translate(327.017288 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -412,13 +412,13 @@ L 338.091642 41.472
</g>
<g id="xtick_9">
<g id="line2d_17">
<path clip-path="url(#p7f92614eb2)" d="M 378.161876 307.584
L 378.161876 41.472
<path clip-path="url(#p2be411610b)" d="M 381.864401 307.584
L 381.864401 41.472
" style="fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;"/>
</g>
<g id="line2d_18">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="378.161876" xlink:href="#ma60bd0e48c" y="307.584"/>
<use style="stroke:#000000;stroke-width:0.8;" x="381.864401" xlink:href="#m59599e50f7" y="307.584"/>
</g>
</g>
<g id="text_9">
@ -442,7 +442,7 @@ L 4.890625 26.703125
z
" id="DejaVuSans-34"/>
</defs>
<g transform="translate(363.847814 322.182437)scale(0.1 -0.1)">
<g transform="translate(367.550338 322.182437)scale(0.1 -0.1)">
<use xlink:href="#DejaVuSans-30"/>
<use x="63.623047" xlink:href="#DejaVuSans-2e"/>
<use x="95.410156" xlink:href="#DejaVuSans-30"/>
@ -605,10 +605,10 @@ z
<defs>
<path d="M 0 0
L -3.5 0
" id="mf7736e9abb" style="stroke:#000000;stroke-width:0.8;"/>
" id="m3fe6e46aed" style="stroke:#000000;stroke-width:0.8;"/>
</defs>
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#mf7736e9abb" y="85.824"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m3fe6e46aed" y="85.824"/>
</g>
</g>
<g id="text_11">
@ -732,7 +732,7 @@ z
<g id="ytick_2">
<g id="line2d_20">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#mf7736e9abb" y="174.528"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m3fe6e46aed" y="174.528"/>
</g>
</g>
<g id="text_12">
@ -854,7 +854,7 @@ z
<g id="ytick_3">
<g id="line2d_21">
<g>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#mf7736e9abb" y="263.232"/>
<use style="stroke:#000000;stroke-width:0.8;" x="57.6" xlink:href="#m3fe6e46aed" y="263.232"/>
</g>
</g>
<g id="text_13">
@ -890,36 +890,36 @@ z
</g>
</g>
<g id="LineCollection_1">
<path clip-path="url(#p7f92614eb2)" d="M 63.116184 71.04
L 379.130294 71.04
<path clip-path="url(#p2be411610b)" d="M 63.13351 71.04
L 351.875287 71.04
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#p7f92614eb2)" d="M 67.524164 159.744
L 192.378703 159.744
<path clip-path="url(#p2be411610b)" d="M 67.671646 159.744
L 208.93368 159.744
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#p7f92614eb2)" d="M 59.520251 248.448
L 126.251367 248.448
<path clip-path="url(#p2be411610b)" d="M 59.447725 248.448
L 117.011308 248.448
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="LineCollection_2">
<path clip-path="url(#p7f92614eb2)" d="M 62.231531 85.824
L 343.522532 85.824
<path clip-path="url(#p2be411610b)" d="M 62.128472 85.824
L 410.958025 85.824
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#p7f92614eb2)" d="M 66.503851 174.528
L 338.856609 174.528
<path clip-path="url(#p2be411610b)" d="M 66.575767 174.528
L 411.184158 174.528
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#p7f92614eb2)" d="M 59.440002 263.232
L 115.813226 263.232
<path clip-path="url(#p2be411610b)" d="M 59.453523 263.232
L 123.420361 263.232
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="LineCollection_3">
<path clip-path="url(#p7f92614eb2)" d="M 59.306253 100.608
L 196.922342 100.608
<path clip-path="url(#p2be411610b)" d="M 59.26991 100.608
L 189.569293 100.608
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#p7f92614eb2)" d="M 61.285736 189.312
L 411.184158 189.312
<path clip-path="url(#p2be411610b)" d="M 61.107971 189.312
L 400.302683 189.312
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
<path clip-path="url(#p7f92614eb2)" d="M 59.418984 278.016
L 117.872958 278.016
<path clip-path="url(#p2be411610b)" d="M 59.515372 278.016
L 133.34705 278.016
" style="fill:none;stroke:#000000;stroke-width:1.5;"/>
</g>
<g id="patch_12">
@ -1158,7 +1158,7 @@ z
</g>
</g>
<defs>
<clipPath id="p7f92614eb2">
<clipPath id="p2be411610b">
<rect height="266.112" width="357.12" x="57.6" y="41.472"/>
</clipPath>
</defs>

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View file

@ -1,4 +1,4 @@
VERSION = (2, 0, 1)
VERSION = (2, 0, 2)
__version__ = '.'.join(map(str, VERSION))
default_app_config = 'cachalot.apps.CachalotConfig'