Wednesday, October 13, 2010

Re: How long is a model validation heavy testsuite supposed to run?

On 13 ต.ค. 2010, at 2:31, Jorge Vargas wrote:

> Hello,
>
> I recently inherited a project that uses a lot of model validations
> and is mainly just a model (we have two django apps that use it as
> their backend).
>
> The test suite currently returns
>
> Ran 460 tests in 980.347s
> That is running on a SQLite db.
>
> Is this normal/expected behavior ? is there a way to speed this up ?

A database migration might not be the sort of effort you were looking for, but I can only imagine that moving from SQLite to Postgres or MySQL would offer you the largest possible performance gains...

0.02,
Jonathan

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment