[Tickets #14075] Re: Large mailboxes takes many seconds to load and causes CPU at 100%

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Aug 5 07:16:25 UTC 2015


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14075
------------------------------------------------------------------------------
  Ticket             | 14075
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Large mailboxes takes many seconds to load and causes
                     | CPU at 100%
  Queue              | Horde Framework Packages
  Type               | Enhancement
-State              | Assigned
+State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2015-08-05 01:16) wrote:

Your suggested improvement was broken for empty thread objects -  
array_replace requires at least one array.

Additionally, there's significant overhead involved with  
call_user_func_array() and array_replace().  Better just to use the  
array union operator - benchmarked at 25% faster on a 500,000 message  
thread object, with the same maximum memory usage.





More information about the bugs mailing list