I have tracked down a weird performance regression and want to see if anyone else can confirm/noticed this. On a large installation running vanilla RS 9.5clicking on "Recently Added" takes about 5 seconds to load the results and then 4-5 seconds to click on an image and then arrow between them. Contrast this to running an arbitrary search (remember a large system), this takes 2-3 seconds and the arrowing between those resource results is virtually instant. Seemingly the return of simply the most recently upload 1000 images should be super fast, as should the paging between them...
There are two lines of code added in SVN revision 15004 that are the culprit. They seem to enable the functionality to sort by resource type in recent RS versions, but commenting them out restores the fast performance to Recently Added results.
The lines are below, is anyone else seeing this/able to test the performance difference?
Thanks
// *******************************************************************************
// order by RESOURCE TYPE
// *******************************************************************************
$sql_join .= " JOIN resource_type AS rty ON r.resource_type = rty.ref ";
$select .= ", rty.order_by ";