]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: extend performance improvements to other parts of the API
authorDaniel Axtens <dja@axtens.net>
Tue, 17 Mar 2020 13:59:15 +0000 (00:59 +1100)
committerDaniel Axtens <dja@axtens.net>
Fri, 20 Mar 2020 08:33:28 +0000 (19:33 +1100)
commit90d85e24f1207daee22f46ab7eca4e367616dbd4
treed5d79b39df3d1611b6d2fd75c5afb135bcb49d47
parent4e3100fb3d268b46aebe71dd59c0d8360624cabf
REST: extend performance improvements to other parts of the API

We can trivially extend what we've just done to other parts of the API.

I haven't done much by way of benchmark but we're seeing multiple 'x's
pretty much across the board when filtering.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephen@that.guru>
(backported from commit 046aa155c3bf827691bab9e1df8916c969a30d54
 - dropped tests, it depends on a test we don't carry
 - rejigged to suit old M:N series model and old API)
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/api/cover.py
patchwork/api/filters.py
patchwork/api/series.py