Tomasz Kolek
dbeab6aa6f
Optimize checks of test database state by moving into Python.
...
Previously, the generate-fixtures shell script by called into Django
multiple times in order to check whether the database was in a
reasonable state. Since there's a lot of overhead to starting up
Django, this resulted in `test-backend` and `test-js-with-casper`
being quite slow to run a single small test (2.8s or so) even on my
very fast laptop.
We fix this is by moving the checks into a new Python library, so that
we can avoid paying the Django startup overhead 3 times unnecessarily.
The result saves about 1.2s (~40%) from the time required to run a
single backend test.
Fixes #1221 .
2016-10-05 10:40:19 -07:00
..
2016-09-26 21:05:24 -07:00
2016-06-29 13:04:02 -07:00
2016-09-27 17:50:51 -07:00
2016-07-31 19:24:42 -07:00
2016-10-05 10:40:19 -07:00
2016-09-26 21:05:24 -07:00
2016-09-27 20:29:08 -07:00
2016-07-24 22:32:08 +05:30
2016-07-20 18:20:37 -07:00
2016-07-29 21:23:33 -07:00
2016-01-23 11:38:42 -08:00
2015-09-25 23:25:08 -04:00
2016-08-22 16:38:23 -07:00
2016-08-02 16:22:46 -07:00
2016-05-12 16:30:58 -07:00
2016-09-12 12:00:16 -07:00
2016-01-21 22:33:55 -08:00
2016-05-24 13:43:49 -07:00
2016-06-27 20:39:22 -07:00
2016-07-24 21:07:06 +05:30
2015-09-25 23:25:08 -04:00
2015-09-25 23:25:08 -04:00
2016-01-21 22:33:55 -08:00
2016-09-26 21:05:24 -07:00
2016-09-26 21:05:24 -07:00
2016-09-26 21:05:24 -07:00
2016-09-12 12:00:16 -07:00
2016-04-01 09:34:46 -07:00
2016-07-24 22:12:32 +05:30
2016-08-03 11:29:37 -07:00
2016-06-18 16:41:40 -07:00
2016-10-04 17:18:54 -07:00
2016-07-21 16:59:52 +05:30
2016-09-12 12:00:16 -07:00
2013-01-29 12:16:32 -05:00
2016-01-21 22:33:55 -08:00
2016-08-15 16:44:50 -07:00
2016-08-25 15:19:40 -07:00
2016-10-04 18:21:36 -07:00
2016-08-24 14:23:37 -07:00
2016-05-29 05:03:08 -07:00
2016-10-04 10:48:26 -07:00
2013-10-08 08:57:29 -04:00
2016-09-12 14:56:08 -07:00
2016-05-29 05:03:08 -07:00
2015-08-19 21:40:04 -07:00
2016-09-26 21:05:24 -07:00
2016-06-27 13:38:06 -07:00
2016-05-29 05:03:08 -07:00
2016-08-04 10:47:09 -07:00
2016-06-27 13:38:06 -07:00
2016-10-05 10:40:19 -07:00
2015-10-28 10:11:47 -07:00
2016-09-23 14:34:44 -07:00
2015-11-11 21:34:39 -08:00
2016-06-15 09:26:04 -07:00
2016-08-10 16:17:23 -07:00
2016-08-11 14:48:21 -07:00
2016-09-12 12:00:16 -07:00
2016-08-02 14:31:07 -07:00
2016-09-16 12:40:48 -07:00
2015-08-20 19:46:48 -07:00
2016-09-26 21:05:24 -07:00
2016-07-27 11:39:12 -07:00
2016-04-06 08:09:55 -07:00
2015-09-25 00:46:00 -07:00
2015-09-24 18:10:02 -07:00