Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2005 09:29:59 +0100
From:      "Harrison Peter CSA BIRKENHEAD" <peter.harrison@dwp.gsi.gov.uk>
To:        <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: -DNOPROFILE with make buildworld...   
Message-ID:  <D8E3EB52364A0842A853E0944FD390D9F9B9F6@DMM00022.link2.gpn.gov.uk>

next in thread | raw e-mail | index | archive | help
>=20-----Original=20Message-----
>=20From:=20Roland=20Smith=20[mailto:rsmith@xs4all.nl]
>=20Sent:=2021=20June=202005=2019:07
>=20To:=20Harrison=20Peter=20CSA=20BIRKENHEAD
>=20Cc:=20freebsd-questions@freebsd.org
>=20Subject:=20Re:=20-DNOPROFILE=20with=20make=20buildworld...
>=20
>=20
>=20On=20Tue,=20Jun=2021,=202005=20at=2001:49:06PM=20+0100,=20Harrison=20P=
eter=20CSA=20
>=20BIRKENHEAD=20wrote:
>=20
>=20>=20I've=20cvsup'ed=20my=20source=20tree,=20and=20stepping=20through=20=
the=20
>=20instructions=20in
>=20>=20the=20handbook=20I=20note=20that=20it=20recommends=20running=20mak=
e=20buildworld=20with
>=20>=20-DNOPROFILE=20(or=20specifying=20it=20in=20make.conf).=20I'm=20not=
=20clear=20what=20the
>=20>=20impact=20of=20running=20profiled=20libraries=20is=20against=20non-=
profiled
>=20>=20libraries.=20I've=20done=20a=20quick=20search=20via=20google=20and=
=20through=20the=20list
>=20>=20archives=20without=20success.
>=20
>=20It's=20not=20about=20profiled=20libraries,=20but=20profiling=20librari=
es.=20
>=20Let=20me=20explain.
>=20
>=20Programs=20that=20are=20compiled=20with=20profiling=20enabled=20gather=
=20data=20about
>=20their=20run-time=20behaviour,=20and=20write=20that=20to=20a=20file,=20=
usualy=20
>=20gmon.out.=20If
>=20the=20program=20is=20linked=20to=20a=20profiling=20library,=20data=20a=
bout=20the=20
>=20time=20spent
>=20running=20functions=20in=20that=20library=20are=20also=20recorded.
>=20
>=20The=20contents=20of=20that=20file=20can=20be=20analyzed=20with=20the=20=
gprof=20
>=20program,=20to=20see
>=20where=20the=20program=20spends=20its=20time.
>=20
>=20Now=20if=20you=20compile=20a=20program=20with=20not-profiling=20librar=
ies,=20
>=20gprof=20cannot
>=20tell=20you=20much=20about=20the=20time=20your=20program=20spent=20in=20=
functions=20
>=20in=20that=20library.


OK=20that=20makes=20sense=20now=20I=20think=20-=20it's=20basically=20an=20=
optimisation=20tool?
Thanks=20for=20the=20explanation.=20I=20don't=20imagine=20needing=20this=20=
at=20the=20moment
so=20noprofile=20looks=20like=20the=20correct=20option=20for=20me.


>=20
>=20Programs=20that=20have=20been=20compiled=20with=20profiling=20enabled=20=
might=20run
>=20fractionally=20slower=20that=20without.=20But=20I=20doubt=20the=20diff=
erence=20is
>=20significant=20on=20a=20modern=20machine.=20
>=20
>=20I'll=20be=20bold=20and=20say=20that=20modern=20machines=20are=20so=20f=
ast=20that=20there=20is
>=20seldom=20need=20to=20profile=20a=20program.


The=20machine=20in=20question=20is=20running=20on=20an=20Athlon=20XP=20180=
0+=20so=20it's=20not
that=20fast=20(or=20modern=20for=20that=20matter),=20but=20I=20take=20your=
=20point.


>=20
>=20Roland
>=20--=20
>=20R.F.Smith=20(http://www.xs4all.nl/~rsmith/)=20Please=20send=20e-mail=20=

>=20as=20plain=20text.
>=20public=20key:=20http://www.xs4all.nl/~rsmith/pubkey.txt
>=20

Thanks=20again,


Peter=20Harrison


-----------------------------------------------------------------------

This=20document=20is=20strictly=20confidential=20and=20is=20intended=20onl=
y=20for=20use=20by=20the=20addressee.=20
If=20you=20are=20not=20the=20intended=20recipient,=20any=20disclosure,=20c=
opying,=20distribution=20or=20other=20
action=20taken=20in=20reliance=20of=20the=20information=20contained=20in=20=
this=20e-mail=20is=20strictly=20prohibited.
Any=20views=20expressed=20by=20the=20sender=20of=20this=20message=20are=20=
not=20necessarily=20those=20of=20the=20Department=20
for=20Work=20and=20Pensions.
If=20you=20have=20received=20this=20transmission=20in=20error,=20please=20=
use=20the=20reply=20function=20to=20tell=20us=20
and=20then=20permanently=20delete=20what=20you=20have=20received.
Please=20note:=20Incoming=20and=20outgoing=20e-mail=20messages=20are=20rou=
tinely=20monitored=20for=20compliance=20
with=20our=20policy=20on=20the=20use=20of=20electronic=20communications.=20=


The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20=
the=20Government=20Secure=20Intranet=20(GSi)=20virus=20scanning=20service=20=
supplied=20exclusively=20by=20Energis=20in=20partnership=20with=20MessageL=
abs.

On=20leaving=20the=20GSi=20this=20email=20was=20certified=20virus-free



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