Re: Why is old IO API used in maven resolver?

2020-08-18 Thread STEFAN REICH
implementation and transferTo the new one. The existing code can copy the file 5.443 times a second, the proposed fix can perform 8.838 copies per second. @Michael: ACK Thanks for your support! Stefan On 2020/08/16 04:40:11, STEFAN REICH wrote: > Hi there!> > > I am working on a ver

Why is old IO API used in maven resolver?

2020-08-16 Thread STEFAN REICH
Hi there! I am working on a very large code base, and build performance issues made me look at the maven-resolver source code. In terms of File usages, there are a lot of InputStreams being copied around using ByteBuffer, instead of using FileChannel.transferTo. Affected classes are DefaultFile