]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Instead of selecting the whole data, just count it
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Sep 2016 16:11:07 +0000 (18:11 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Sep 2016 16:11:07 +0000 (18:11 +0200)
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)


No differences found