filelist and file wizard very slow for more file than usual
having just some files more than average slows down filelist module and much more the file wizard attached to file-fields of CEs.
in filelist module TYPO3 always displays the number of files in a folder, which is very expensive if there are e.g. 200 folders with around 2000 files each.
in the file wizard none such number is displayed but the display is much more slower.
it is not the filesystem: you may enter the command 'ls -l tester/*' in a shell which is shown in less than a minute ('ls tester/*' just takes 15 seconds)
download the attached file 'crate_files.sh' into your fileadmin/ folder ad execute it.
afterwards try to select the new copied file fileadmin/tester/dir/199/dummy_31415.png into an image CE.
previously you might index these folders by viewing the folders in the filelist-module.
even if you disable thumbnails and extended view it takes minutes, which is not practicable for editors which might need to use multiple files from these folders.