[cmake-developers] cmake install command expected performance?
Nils Gladitz
nilsgladitz at gmail.com
Mon Feb 23 10:37:11 EST 2015
On 02/23/2015 04:13 PM, Robert Goulet wrote:
> I’m running into an issue were using the CMake install command to copy a
> directory with over 5000+ files (slightly over 1GB of data) takes a lot
> more time than doing a simple copy. On an SSD drive it takes 0.2 seconds
> to copy, while it takes about 56+ seconds for CMake to do the same thing
> using the install command. Why is there so much a big difference? Is
> this intended for some reasons or could there be a bug? Thanks!
Did you run the manual copy right after the cmake install? (e.g. could
files still have been in the system's disk cache?).
Both a manual copy and a cmake install might omit copying if the source
isn't newer than the destination file; did you perform both with the
destination files missing?
Nils
More information about the cmake-developers
mailing list