[BUG] Abysmal performance in FileList

Dan Ingalls Dan at SqueakLand.org
Thu Mar 7 05:40:40 UTC 2002


Having fixed things so they don't crash when viewing short files, there is now a huge performance bug (can take over a second to click on an empty file) in the fileList due to its incredibly smarts.

Here's the stack that ends up doing full garbage collects which, it can be argued, is not incredibly smart here.

	- Dan
-----------------------------
	      |  |                      67.2% {11911ms} FileList>>fileListIndex:
      |  |                        66.3% {11751ms} FileList>>updateButtonRow
[66.2% {11733ms} FileList>>dynamicButtonServices
[  66.2% {11733ms} FileList>>itemsForFile:
[    66.2% {11733ms} ArchiveViewer class>>fileReaderServicesForFile:suffix:
[      66.2% {11733ms} ZipArchive class>>isZipArchive:
[        66.2% {11733ms} StandardFileStream class>>oldFileNamed:
[          66.1% {11716ms} StandardFileStream>>open:forWrite:
[            66.0% {11698ms} StandardFileStream class>>retryWithGC:until:forFileNamed:



More information about the Squeak-dev mailing list