# Deleting of directory structur is very slow

**URL:** <https://www.finalbuilder.com/forums/t/deleting-of-directory-structur-is-very-slow/3083>\
**Category:** Bugs\
**Created:** [March 23, 2009, 2:48am UTC](https://www.finalbuilder.com/forums/t/deleting-of-directory-structur-is-very-slow/3083 "2009-03-23T02:48:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![entwicklung](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@entwicklung](https://www.finalbuilder.com/forums/u/entwicklung)\
**Post date:** [March 23, 2009, 2:48am UTC](https://www.finalbuilder.com/forums/t/deleting-of-directory-structur-is-very-slow/3083/1 "2009-03-23T02:48:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [March 24, 2009, 2:02am UTC](https://www.finalbuilder.com/forums/t/deleting-of-directory-structur-is-very-slow/3083/2 "2009-03-24T02:02:19Z")

</div>

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](https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1387.exe)  
  
 Regards,   
 Paul.

---

<div class="post-metadata">

**Author:** ![entwicklung](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@entwicklung](https://www.finalbuilder.com/forums/u/entwicklung)\
**Post date:** [March 24, 2009, 2:52am UTC](https://www.finalbuilder.com/forums/t/deleting-of-directory-structur-is-very-slow/3083/3 "2009-03-24T02:52:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [March 25, 2009, 1:26am UTC](https://www.finalbuilder.com/forums/t/deleting-of-directory-structur-is-very-slow/3083/4 "2009-03-25T01:26:23Z")

</div>

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.
