From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 26 09:44:01 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 009F016A401 for ; Sun, 26 Mar 2006 09:44:00 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48E2143D48 for ; Sun, 26 Mar 2006 09:43:59 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.6/8.13.3) with ESMTP id k2Q9hteh034307 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 26 Mar 2006 11:43:55 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.6/8.13.3/Submit) id k2Q9httR034306 for hackers@freebsd.org; Sun, 26 Mar 2006 11:43:55 +0200 (CEST) Date: Sun, 26 Mar 2006 11:43:55 +0200 From: Divacky Roman To: hackers@freebsd.org Message-ID: <20060326094354.GA34169@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: Subject: precompiled header X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 09:44:01 -0000 hi why fbsd dont use precompiled headers during buildword/buildkernel? I just did very naive test (which doesnt work for a lot of the headers) cd /sys; find . -name \*.h -exec gcc -x c-header {} \; time buildkernel and delete those compiled headers and time buildkernel again there is a speedup for the precompiled-headers case (but not very big) and I am sure if it was carefully integrated into the build (ie. compiling all headers) the difference might be quite visible... thnx roman