Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 14:10:42 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        Alexey Dokuchaev <danfe@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r394970 - head/devel/love07
Message-ID:  <20150827111042.GG41937@hades.panopticon>
In-Reply-To: <1401876A0D871EB1944F20BC@atuin.in.mat.cc>
References:  <201508211600.t7LG05HP050267@repo.freebsd.org> <20150821171523.GA49960@FreeBSD.org> <20150821172406.GA41937@hades.panopticon> <20150821185335.GA86849@FreeBSD.org> <1401876A0D871EB1944F20BC@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
* Mathieu Arnold (mat@FreeBSD.org) wrote:

> thus, make had to parse it twice (once from bsd.port.options.mk, once at
> the end of the Makefile), which takes time

Out of curiocity, I've tested how much time this really takes and
difference seems to actually be marginal.

1000 invocations of `make -V OPTIONS_NAME` on a simplest port (just to
make sure makefile is parsed) in my core i5 box:

only bsd.port.mk included           20.171 sec
bsd.port.options.mk + bsd.port.mk   21.445 sec

that's just 6% difference, or 30 seconds when parsing the whole portstree.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru      http://amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150827111042.GG41937>