diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-03 18:11:07 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-03 18:11:07 +0200 |
commit | 543da3e0b7592b1a00a7c5baec1554460609d63f (patch) | |
tree | b7e3ad3bbd69ff99e2d051a4381e2854706fad57 /src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php | |
parent | 8f8654913ce82be12219a37a24630066bbe950c2 (diff) | |
download | wallabag-543da3e0b7592b1a00a7c5baec1554460609d63f.tar.gz wallabag-543da3e0b7592b1a00a7c5baec1554460609d63f.tar.zst wallabag-543da3e0b7592b1a00a7c5baec1554460609d63f.zip |
Instead of selecting the whole data, just count it
Instead of performing a complex select (to retrieve all data for entry, etc...) just select the counter and retrieve it.
Down from ~50ms to ~30ms on the unread page (with 500 items)
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php')
0 files changed, 0 insertions, 0 deletions