quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zuyu <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #22: Add a shell script that logs the build...
Date Sat, 11 Jun 2016 05:47:43 GMT
Github user zuyu commented on a diff in the pull request:

    --- Diff: build/profile_build.sh ---
    @@ -0,0 +1,65 @@
    +# This script may be useful for developers to profile the build process itself.
    +# This shell script runs CMake and make, dumping all output into a log file.
    +# It also logs the CPU usage and memory information during the build.
    +# All log messages are timestamped to enable profiling.
    +# Dependencies:
    +# - ts 
    +# sudo apt-get install -y libtime-duration-perl moreutils
    +# - vmstat and mpstat 
    +# sudo apt-get install -y sysstat
    +# Usage: ./profile_build.sh [num_parallel_jobs]
    +# The number of parallel make jobs can be passed as argument to this script.
    +# By default, it is the number of (virtual) CPUs on the machine (nproc).
    +# Set the CMake flags you want to use below.
    +# If CMakeCache.txt is detected, the script skips cmake and runs make only.
    --- End diff --
    Please remove this comment line.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message