From: Jeremy Benoist Date: Sat, 3 Sep 2016 16:11:07 +0000 (+0200) Subject: Instead of selecting the whole data, just count it X-Git-Tag: 2.1.0~44^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=543da3e0b7592b1a00a7c5baec1554460609d63f;hp=543da3e0b7592b1a00a7c5baec1554460609d63f;p=github%2Fwallabag%2Fwallabag.git 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) ---