[
https://issues.apache.org/jira/browse/MESOS-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959719#comment-14959719
]
James Peach edited comment on MESOS-1582 at 10/15/15 10:05 PM:
---------------------------------------------------------------
Here's a quick hack to generate compilation timings:
{code}
diff --git a/src/Makefile.am b/src/Makefile.am
index 96ce73b..fd3389b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -56,6 +56,11 @@ endif
PROTOCFLAGS = -I$(top_srcdir)/include -I$(srcdir)
+TIME = /usr/bin/time
+ECHO = /bin/echo
+am__v_CXX_time = $(ECHO) -n " CXX " $@ && $(TIME)
+am__v_lt_time = --silent
+
# Initialize variables here so we can use += operator everywhere else.
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
{code}
Invoke it like {{make V=time}}.
was (Author: jamespeach):
Here's a quick hack to generate compilation timings:
{code}
diff --git a/src/Makefile.am b/src/Makefile.am
index 96ce73b..fd3389b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -56,6 +56,11 @@ endif
PROTOCFLAGS = -I$(top_srcdir)/include -I$(srcdir)
+TIME = /usr/bin/time
+ECHO = /bin/echo
+am__v_CXX_time = $(ECHO) -n " CXX " $@ && $(TIME)
+am__v_lt_time = --silent
+
# Initialize variables here so we can use += operator everywhere else.
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
{code}
> Improve build time.
> -------------------
>
> Key: MESOS-1582
> URL: https://issues.apache.org/jira/browse/MESOS-1582
> Project: Mesos
> Issue Type: Epic
> Components: build
> Reporter: Benjamin Hindman
>
> The build takes a ridiculously long time unless you have a large, parallel
> machine. This is a combination of many factors, all of which we'd like to
> discuss and track here.
> I'd also love to actually track build times so we can get an appreciation of
> the improvements. Please leave a comment below with your build times!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)