[Owncloud] Archive reading resource hog (bug oc-1224)

Sam Tuke samtuke at owncloud.com
Thu Sep 20 13:15:05 UTC 2012


On 09/19/2012 08:06 PM, Victor Dubiniuk wrote:
> the bottleneck of the OC_Archive_TAR is [1]. Caching $headers to a
> protected member of OC_Archive_TAR class reduced CPU load by half
> while browsing tar.gz.
> Here is a call graph for browsing the tar archive [2]. As you see
> tar->listContent() is called twice for eache file in the archive:
> firstly to get the size and secondary to get the mime.

Yes, this and your other comments are extremely helpful!

I plan to continue work on this issue on Tuesday.

Thanks for your investigation,

Sam.



More information about the Owncloud mailing list