Deleting of directory structur is very slow

Hi

It takes about 3 times longer to delete a directory (with “Delete tree” option enalbed) by the “Delete Directory”-Action then to call “rmdir … /S /Q” within a “Run DOS Command”-Action.



Since performance is an issue for us, could you please fix that…?!



“Delete Directory” --> approx. 55s

“RMDIR … /S /Q” --> approx. 17s



Best regards,
Andrew

Hi Ivo,

Could you please download the latest test build of FinalBuilder and let us know if you still seeing performance issues with the Delete Directory action? Also, having ‘Log each file and directory deleted’ enabled will have an affect on the performance of the action so make sure it’s disabled.

You can download the latest build from:

URL: https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1387.exe

Regards,
Paul.

Hi Paul,



I’ve just tested your latest build and the results are impressing.


If the logging is disabled (as in the tests before), the performance with the “Delete Tree”-Action is now almost the same as the “RMDIR”-Command.


(All values in seconds)

 
RMDIR Delete Tree

2.9533.156
2.5942.125
2.7192.265
2.0473.719
2.5162.89
3.3282.734
3.6723.407
2.6722.172
2.25012.2468–> 0.998533399

I excluded two results, which were quite strange (3 times slower).
9.39110.766 
2.54713.047



Works for me. Thanks a lot.


Is this already a stable and official release?



Best regards,

Andrew

Hi Andrew

The build Paul posted is a test build which is produced by our daily build process. This is the same build process as we use for our release builds.

In general, test builds are the same as release builds, but have bug fixes applied (so no major new features). In most cases this should not cause issues… but the builds do not get tested to the same level that release builds do.