Version 1.2.0.
|
@ -1,6 +1,17 @@
|
|||
What’s new in django-cachalot?
|
||||
==============================
|
||||
|
||||
1.2.0
|
||||
-----
|
||||
|
||||
- Adds Django 1.9 support
|
||||
- Simplifies and speeds up cache keys hashing
|
||||
- Documents how to use django-cachalot with a replica database
|
||||
- Adds ``DummyCache`` to ``VALID_CACHE_BACKENDS``
|
||||
- Updates the comparison with django-cache-machine & django-cacheops by
|
||||
checking features and measuring performance instead of relying on their
|
||||
documentations and a 2-years-ago experience of them
|
||||
|
||||
1.1.0
|
||||
-----
|
||||
|
||||
|
|
1801
benchmark/cache.svg
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
|
@ -1,5 +1,5 @@
|
|||
- filebased is 1.4× slower then 6.3× faster
|
||||
- locmem is 1.0× slower then 9.0× faster
|
||||
- memcached is 1.0× slower then 6.9× faster
|
||||
- pylibmc is 1.1× slower then 7.8× faster
|
||||
- redis is 1.1× slower then 6.3× faster
|
||||
- filebased is 1.1× slower then 7.5× faster
|
||||
- locmem is 1.0× slower then 7.9× faster
|
||||
- memcached is 1.1× slower then 7.1× faster
|
||||
- pylibmc is 1.1× slower then 5.7× faster
|
||||
- redis is 1.1× slower then 6.7× faster
|
||||
|
|
|
@ -2,16 +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 20538764 kB
|
||||
RAM 20538760 kB
|
||||
Disk INTEL SSDSC2CW06
|
||||
Linux distribution Ubuntu 14.04 trusty
|
||||
Python 2.7.6
|
||||
Django 1.8.5
|
||||
cachalot 1.1.0
|
||||
Python 3.5.0
|
||||
Django 1.9.1
|
||||
cachalot 1.2.0
|
||||
sqlite 3.8.2
|
||||
PostgreSQL 9.4.5
|
||||
PostgreSQL 9.5.0
|
||||
MySQL 5.5.46
|
||||
Redis 2.8.4
|
||||
memcached 1.4.14
|
||||
psycopg2 2.6.1
|
||||
MySQLdb 1.3.6
|
||||
mysqlclient 1.3.7
|
||||
==================== ==================================================
|
||||
|
|
1722
benchmark/db.svg
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
|
@ -1,3 +1,3 @@
|
|||
- mysql is 1.6× slower then 1.0× faster
|
||||
- postgresql is 1.1× slower then 14.1× faster
|
||||
- sqlite is 1.1× slower then 8.6× faster
|
||||
- mysql is 1.8× slower then 1.0× faster
|
||||
- postgresql is 1.0× slower then 11.7× faster
|
||||
- sqlite is 1.1× slower then 7.8× faster
|
||||
|
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 212 KiB |
|
@ -1,4 +1,4 @@
|
|||
VERSION = (1, 1, 0)
|
||||
VERSION = (1, 2, 0)
|
||||
__version__ = '.'.join(map(str, VERSION))
|
||||
|
||||
default_app_config = 'cachalot.apps.CachalotConfig'
|
||||
|
|