Performance issue in Drupal_SearchApi_Facetapi_QueryType_DateRangeQueryType class. If we have a lot of items strtotime() function in this class calls to much times, for example if we have 5 ranges and 100 000 items than strtotime will calls 5 * 2 * 100 000 = 1 000 000 times!

Comments

blesss’s picture

Status: Active » Needs review
eugene.ilyin’s picture

Status: Needs review » Fixed

Great catch! Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.