﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12057	Caching performance regression between django 1.0 and django 1.1.1 with callables as default on model fields	Michael Thornhill	nobody	"In django 1.0 reading from the cache is a fast operation however in
django 1.1.1 reading from cache causes all fields with a callable as
default to be called.[[BR]]

In the case where that callable is an expensive operation the
performance is severely affected. [[BR]]

I've created patches showing this regression for the 1.1.1 branch:[[BR]]

1. http://code.djangoproject.com/svn/django/branches/releases/1.0.X
callable only called at creation, test case passes

2. http://code.djangoproject.com/svn/django/branches/releases/1.1.X
which shows the default callable being called at creation and on cache read (test case fails) "		closed	Core (Cache system)	1.1		fixed			Accepted	1	0	0	1	0	0
