eclipse.platform icon indicating copy to clipboard operation
eclipse.platform copied to clipboard

Improve File delete performance

Open jukzi opened this issue 1 year ago • 1 comments

Currently Project/Clean... takes much time to only delete the output. Hopefully that can be improved - somehow

image

jukzi avatar Jul 03 '24 06:07 jukzi

I wonder why RemoveDirectory is called if the element to be deleted is actually a file?

In general if the JDK implementation is too generic and therefore too slow we could consider adding a native (JNA, later FFM based) implementation by adding a delete() method to the NativeHandler? Maybe we can avoid some of the native calls done in nio.

HannesWell avatar Jul 03 '24 16:07 HannesWell

i have made delete parallel and don't plan further improvements.

jukzi avatar Oct 10 '24 08:10 jukzi