Hi. I would like to mention that all my previous times, was measured for clean Generation (I deleted all generation files) I will try to make bisect build, to check where regression occur.
Now I would like to present results with enabled cleaning only on first run: CMake 3.4.3 Unix Makefile generation 1. Clean run (rm -rf Output) real 1m31.233s user 1m26.136s sys 0m3.004s 2. Dirty run (no deletion) real 1m27.101s user 1m24.620s sys 0m2.988s 3. Dirty run (no deletion) real 1m26.237s user 1m23.240s sys 0m3.020s 4. Dirty run (no deletion) real 1m27.670s user 1m24.764s sys 0m2.816s CMake 3.5.0-rc1 Unix Makefile generation 1. Clean run (rm -rf Output) real 2m34.244s user 2m30.176s sys 0m3.220s 2. Dirty run (no deletion) real 2m35.259s user 2m32.400s sys 0m3.116s 3. Dirty run (no deletion) real 2m27.881s user 2m25.184s sys 0m3.032s 4. Dirty run (no deletion) real 2m25.139s user 2m22.552s sys 0m2.984s 2016-02-04 18:57 GMT+01:00 Brad King <brad.k...@kitware.com>: > On 02/04/2016 10:29 AM, Bartosz Kosiorek wrote: > > I downloaded cmakes from website: > > https://cmake.org/download/ > > > > All generation were done on clean output (deleted all files generated by > cmake) > > on the same repository version, in the same directory. > > The only difference was cmake version used for configuring. > > > > How I could check what was caused such long times? > > Try also timing the second and third runs on a single build tree > to get timings without all the platform introspection tests. > > You could clone the CMake Git repository, build from source with > -DCMAKE_BUILD_TYPE=RelWithDebInfo and then run it through a > profiler (e.g. valgrind --tool=callgrind). Alternatively you > could `git bisect` between v3.4.3 and v3.5.0-rc1 to see if there > is a small range of commits that causes the regression. That > could really help narrow it down. > > Thanks, > -Brad > >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers