eclipse-platform / eclipse-platform/eclipse.platform

Improve copy performance

Open
#1,657 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted performance
Dominant language
Java
Stars
165
Forks
174
Avg merge
2d 8h
Merged PRs (30d)
22

Description

jdt's BatchImageBuilder.copyExtraResourcesBack() takes relevant time during clean build (example from platform workspace on windows):
![image](https://github.com/user-attachments/assets/3d4d2048-54a1-492c-b779-35f7fad424c9)
Where the time is spend in LocalFile.copyFile()

While i have no idea how the LocalFile.copyFile() itself could be further improved (https://github.com/eclipse-platform/eclipse.platform/pull/1512) it might be possible to improve the whole thing with parallel processing as already done for delete/read/write (https://github.com/eclipse-platform/eclipse.platform/pull/1549) . Probably some parallel copy API has to be implemented in platform and used by jdt.

Contributions welcome.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.