Version 1.5.0.
|
@ -1,6 +0,0 @@
|
|||
Authors
|
||||
=======
|
||||
|
||||
================ ==========================
|
||||
Bertrand Bordage bordage.bertrand@gmail.com
|
||||
================ ==========================
|
|
@ -1,6 +1,27 @@
|
|||
What’s new in django-cachalot?
|
||||
==============================
|
||||
|
||||
1.5.0
|
||||
-----
|
||||
|
||||
- Adds Django 1.11 support
|
||||
- Adds Python 3.6 support
|
||||
- Drops Django 1.9 support (but 1.8 is still supported)
|
||||
- Drops Python 3.3 support
|
||||
- Adds ``CACHALOT_DATABASES`` to specify which databases have django-cachalot
|
||||
enabled (by default, only supported databases are enabled)
|
||||
- Stops advising users to dynamically override cachalot settings as it cannot
|
||||
be thread-safe due to Django’s internals
|
||||
- Invalidates tables after raw ``CREATE``, ``ALTER`` & ``DROP`` SQL queries
|
||||
- Allows specifying model lookups like ``auth.User`` in the API functions
|
||||
(previously, it could only be done in the Django template tag, not in the
|
||||
Jinja2 ``get_last_invalidation`` function nor in API functions)
|
||||
- Fixes the cache used by ``CachalotPanel`` if ``CACHALOT_CACHE`` is different
|
||||
from ``'default'``
|
||||
- Uploads a wheel distribution of this package to PyPI starting now,
|
||||
in addition of the source release
|
||||
- Improves tests
|
||||
|
||||
1.4.1
|
||||
-----
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
include README.rst LICENSE AUTHORS.rst CHANGELOG.rst requirements.txt
|
||||
include README.rst LICENSE CHANGELOG.rst requirements.txt
|
||||
recursive-include cachalot *.json *.html
|
||||
|
|
1245
benchmark/cache.svg
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
|
@ -1,5 +1,5 @@
|
|||
- filebased is 1.2× slower then 6.4× faster
|
||||
- locmem is 1.1× slower then 7.0× faster
|
||||
- memcached is 1.1× slower then 6.0× faster
|
||||
- pylibmc is 1.1× slower then 6.6× faster
|
||||
- redis is 1.2× slower then 5.9× faster
|
||||
- filebased is 1.1× slower then 6.6× faster
|
||||
- locmem is 1.0× slower then 7.4× faster
|
||||
- memcached is 1.1× slower then 6.7× faster
|
||||
- pylibmc is 1.1× slower then 6.8× faster
|
||||
- redis is 1.1× slower then 6.7× faster
|
||||
|
|
|
@ -2,17 +2,17 @@ In this benchmark, a small database is generated, and each test is executed 20 t
|
|||
|
||||
==================== ==================================================
|
||||
CPU Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
|
||||
RAM 20536868 kB
|
||||
RAM 20536732 kB
|
||||
Disk INTEL SSDSC2CW06
|
||||
Linux distribution Ubuntu 16.04 xenial
|
||||
Python 3.5.2
|
||||
Django 1.10.2
|
||||
cachalot 1.4.1
|
||||
Python 3.6.1
|
||||
Django 1.11.2
|
||||
cachalot 1.5.0
|
||||
sqlite 3.11.0
|
||||
PostgreSQL 9.6.0
|
||||
MySQL 5.7.15
|
||||
PostgreSQL 9.6.3
|
||||
MySQL 5.7.18
|
||||
Redis 3.0.6
|
||||
memcached 1.4.25
|
||||
psycopg2 2.6.2
|
||||
mysqlclient 1.3.9
|
||||
psycopg2 2.7.1
|
||||
mysqlclient 1.3.10
|
||||
==================== ==================================================
|
||||
|
|
1007
benchmark/db.svg
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
|
@ -1,3 +1,3 @@
|
|||
- mysql is 1.1× slower then 4.5× faster
|
||||
- postgresql is 1.1× slower then 9.0× faster
|
||||
- sqlite is 1.1× slower then 5.7× faster
|
||||
- postgresql is 1.1× slower then 10.3× faster
|
||||
- sqlite is 1.1× slower then 5.8× faster
|
||||
|
|
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 141 KiB |
|
@ -1,4 +1,4 @@
|
|||
VERSION = (1, 4, 1)
|
||||
VERSION = (1, 5, 0)
|
||||
__version__ = '.'.join(map(str, VERSION))
|
||||
|
||||
default_app_config = 'cachalot.apps.CachalotConfig'
|
||||
|
|