[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Re: Dependencies



It would have been more revealing had I attached the file...

A

Alex Bligh wrote:
I am writing a script call gendeps.pl which analyses what files depend
on other (in an attempt to improve build times). It will tell you
what files depend on a given file, or what a given file depends
on.

Here are some stats - the output of
  Scripts/gendeps.pl -n -i all*/.deps/*.Po | sort -nr

The format is
 <number> <file>
on each line, where <number> is the number of rebuilds that we'd
get from touching <file>.

The ones at the top are all in the pch - they cause everything to
rebuild (all 538 files).

So, interesting questions arise, like "why is arrows.h in the .pch".
And even better, "why does changing biasgain.h cause an automatic
rebuild of over 200 files when it's just a control". I suspect
the answer is "because someone didn't know about forward references"
but in any case I'm going to improve the tool so it will actually
go through the files and find the tree of includes if you ask
it nicely.

Alex



558 xmatrix.h
558 xlong.h
558 wrkcoord.h
558 winrect.h
558 wincoord.h
558 varstr.h
558 unittype.h
558 units.h
558 undoop.h
558 txtattr.h
558 trans2d.h
558 tranform.h
558 tool.h
558 stockcol.h
558 stdwx.h
558 slowjob.h
558 selstate.h
558 selop.h
558 selmsg.h
558 rndstack.h
558 rndrgn.h
558 rgnlist.h
558 release.h
558 range.h
558 ralphint.h
558 quality.h
558 pump.h
558 prefs.h
558 pathtype.h
558 pathshap.h
558 paths.h
558 pathname.h
558 outptgif.h
558 outptdib.h
558 ops.h
558 opdesc.h
558 oilfltrs.h
558 oilcoord.h
558 node.h
558 nodeattr.h
558 msg.h
558 monotime.h
558 mfccontainer.h
558 memory.h
558 memdebug.h
558 memblk.h
558 matrix.h
558 listitem.h
558 list.h
558 iterator.h
558 ink.h
558 handles.h
558 gradtype.h
558 genstack.h
558 genlist.h
558 gconsts.h
558 fraclist.h
558 fontclass.h
558 flags.h
558 fixstr8.h
558 fixstr64.h
558 fixstr32.h
558 fixstr16.h
558 fixst256.h
558 fixst128.h
558 fixmem.h
558 fixed.h
558 fixed24.h
558 fixed16.h
558 fix24.h
558 filters.h
558 exception.h
558 errors.h
558 epsstack.h
558 epsfiltr.h
558 epsclist.h
558 ensure.h
558 docvmsg.h
558 document.h
558 docrect.h
558 docmsgs.h
558 doccoord.h
558 doccomp.h
558 doccolor.h
558 dlgtypes.h
558 dibutil.h
558 dibconv.h
558 defalloc.h
558 coord.h
558 compatdef.h
558 colmodel.h
558 colcarry.h
558 clikmods.h
558 ccobject.h
558 ccmaths.h
558 ccfile.h
558 capturemanager.h
558 camtypes.h
558 camstring.h
558 camresource.h
558 bmplist.h
558 bitmap.h
558 bitmapcachekey.h
558 bitmapcache.h
558 binreloc.h
558 binds.h
558 basestr.h
558 basedoc.h
558 barmsg.h
558 attrval.h
558 attrmgr.h
558 attr.h
558 arrows.h
558 app.h
557 camtypes.h.gch
265 convert.h
255 rendtype.h
228 rect.h
227 oilrect.h
226 view.h
226 draginfo.h
226 cursor.h
225 dragtrgt.h
217 wrkrect.h
217 stack.h
215 dlgmgr.h
214 docview.h
214 camview.h
212 iprofile.h
212 biasgain.h
209 gpalopt.h
208 filter_types.h
208 bmpprefs.h
199 camfiltr.h
182 dialogop.h
155 attrmap.h
154 cxfrech.h
152 npaper.h
151 nodepath.h
145 fillval.h
135 nodecomp.h
132 fillattr.h
125 group.h
125 grid.h
124 paldefs.h
124 animparams.h
121 spread.h
121 cxfdefs.h
121 biasgdgt.h
120 dockbar.h
120 cxfrec.h
120 bars.h
114 cxftags.h
112 rrcaps.h
109 becomea.h
106 pathproc.h
94 objchge.h
85 transop.h
81 lineattr.h
81 blendatt.h
75 pathpcs.h
75 blobs.h
72 progress.h
72 gdraw.h
71 ophist.h
70 nodeshap.h
70 linedef.h
70 layer.h
69 linecomp.h
68 gdrawcon.h
67 noderect.h
67 GDrawIntf.h
66 thumb.h
66 grndrgn.h
63 taglists.h
62 nodebmp.h
62 cxfile.h
62 camelot.h
60 pathtrap.h
60 brshcomp.h
58 nodetxts.h
56 dragtool.h
55 sgtree.h
53 gbrush.h
51 sgscan.h
51 sgallery.h
51 nodepostpro.h
51 nodeblnd.h
50 nodershp.h
50 ccdc.h
49 qualattr.h
49 ndbldpth.h
49 colcontx.h
47 gcache.h
46 fntcache.h
46 clipattr.h
46 beveler.h
45 nodemold.h
44 nodecont.h
44 ktimer.h
44 keypress.h
44 colourix.h
43 textfuns.h
43 nodebev.h
41 samplist.h
41 csrstack.h
41 brshdata.h
41 brpress.h
40 ppbrush.h
40 brshattr.h
38 extender.h
38 collist.h
37 osrndrgn.h
37 nodetext.h
37 ngiter.h
37 grnddib.h
37 cutop.h
36 slicehelper.h
36 ngscan.h
35 nbevcont.h
35 bubbleid.h
34 nodedoc.h
34 bmpsrc.h
33 flatfact.h
33 filtimop.h
32 colmsg.h
31 nodebldr.h
31 ccpanose.h
30 oilbitmap.h
30 camframe.h
30 bitfilt.h
29 vectrndr.h
28 strkattr.h
28 fontbase.h
28 contmenu.h
28 colormgr.h
27 userattr.h
27 nodeshad.h
27 kerneldc.h
26 saveeps.h
26 pagesize.h
26 effects_stack.h
26 cmdctrl.h
25 menuitem.h
25 bitmpinf.h
25 attrappl.h
25 appprefs.h
24 opbevel.h
24 fontman.h
24 blndtool.h
23 page.h
23 helpuser.h
23 dragmsg.h
23 colplate.h
22 snap.h
22 nodetxtl.h
22 bmpcomp.h
21 optsmsgs.h
21 oilfiles.h
21 ngcore.h
21 menuops.h
21 dragmgr.h
21 chapter.h
20 ncntrcnt.h
20 exphint.h
19 tmpltatr.h
19 ngprop.h
19 grndbmp.h
19 gla.h
19 colcomp.h
18 tranlate.h
18 opdupbar.h
18 offattr.h
18 bshadow.h
18 bshadow2.h
17 toollist.h
17 sprdmsg.h
17 opbarcreation.h
17 nodeliveeffect.h
17 jpglib_namespace.h
17 camdoc.h
17 aw_eps.h
16 ppstroke.h
16 pathedit.h
16 palman.h
16 ngsentry.h
16 maskfilt.h
16 fthrattr.h
16 bmpalint.h
15 valfunc.h
15 strkcomp.h
15 sgliboil.h
15 selector.h
15 pen.h
15 opliveeffects.h
15 moldshap.h
15 fillramp.h
15 fileutil.h
15 dragcol.h
15 bmpalctrl.h
15 bmapprev.h
14 stdbars.h
14 sgdrag.h
14 printctl.h
14 nodecntr.h
14 layermsg.h
14 layergal.h
13 vkextra.h
13 unicdman.h
13 textops.h
13 opclip.h
13 giffiltr.h
13 exjpeg.h
13 dlgcol.h
13 coldlog.h
13 cartprov.h
13 brushmsg.h
13 bfxbase.h
12 webflags.h
12 statline.h
12 shapeops.h
12 property.h
12 ndclpcnt.h
12 layerprp.h
12 ctrllist.h
12 clipint.h
12 cameleps.h
11 webaddr.h
11 vector3d.h
11 pathops.h
11 optsgrid.h
11 opdragbx.h
11 ndoptmz.h
11 impexpop.h
11 gmould.h
11 gclips.h
11 attrbev.h
10 zoomops.h
10 sginit.h
10 rsmooth.h
10 opnudge.h
10 opfree.h
10 opdrbrsh.h
10 ngitem.h
10 moldedit.h
10 module.h
10 filedlgs.h
10 brshgdgt.h
10 blndhelp.h
9 tracectl.h
9 sgline.h
9 sglayer.h
9 product.h
9 ppbevel.h
9 outptpng.h
9 opgrad.h
9 opcntr.h
9 impcol.h
9 guides.h
9 dropdown.h
9 dbugtree.h
9 ccolbar.h
9 bmpfiltr.h
8 zutil.h
8 vstate.h
8 unitcomp.h
8 shadinfo.h
8 scanrr.h
8 rnddlgs.h
8 pngfiltr.h
8 pathstrk.h
8 offscrn.h
8 native.h
8 insertnd.h
8 drawctl.h
8 devcolor.h
8 comattrmsg.h
8 camprofile.h
7 webattr.h
7 usercord.h
7 sgmenu.h
7 scunit.h
7 rendwnd.h
7 rechattr.h
7 pbecomea.h
7 overlist.h
7 overitem.h
7 opshadow.h
7 objreg.h
7 nodemldr.h
7 ndmldpth.h
7 nativeps.h
7 moldpers.h
7 mkshapes.h
7 imagemap.h
7 htmlexp.h
7 fitcurve.h
7 filtirr.h
7 filltool.h
7 dragbmp.h
7 dlgevt.h
7 coplfilr.h
7 cmxrendr.h
7 ccbuffil.h
7 brushref.h
7 backgrnd.h
6 zdeflate.h
6 tunemem.h
6 sgcolour.h
6 selall.h
6 regshape.h
6 ppvecstr.h
6 pathndge.h
6 paper.h
6 oilmods.h
6 oilmenus.h
6 nodeclip.h
6 ngsetop.h
6 ndtxtpth.h
6 moldtool.h
6 makebmp.h
6 hotkeys.h
6 gradtbl.h
6 filtimag.h
6 cxfrgshp.h
6 combshps.h
6 colpick.h
6 cbmpdata.h
6 cartctl.h
6 brshbeca.h
6 biasdlg.h
6 bevtrap.h
6 basebar.h
5 zstream.h
5 zinflate.h
5 xmlutils.h
5 webparam.h
5 texttool.h
5 textinfo.h
5 sgframe.h
5 rendbits.h
5 rechrshp.h
5 ralphdoc.h
5 princomp.h
5 opscale.h
5 opbreak.h
5 ndmldgrp.h
5 mrhbits.h
5 maskedrr.h
5 macros.h
5 layermgr.h
5 la_base.h
5 jpgermgr.h
5 jerror.h
5 infocomp.h
5 infobar.h
5 hardwaremanager.h
5 groupops.h
5 gblend.h
5 gadget.h
5 freehand.h
5 cxftext.h
5 cxfcols.h
5 ccafile.h
5 cache.h
5 bfxalu.h
5 bevtool.h
5 bevinfo.h
5 aprps.h
4 zoomtool.h
4 xpfilter.h
4 xpfcaps.h
4 xagdraw.h
4 XaDraw.h
4 viewcomp.h
4 uielem.h
4 tracedlg.h
4 tmpltarg.h
4 svnversion.h
4 speedtst.h
4 snapops.h
4 shadtool.h
4 rectangl.h
4 radio.h
4 prvwflt.h
4 prpsgds.h
4 prevwdlg.h
4 ppairbsh.h
4 pngutil.h
4 opsquash.h
4 oprshape.h
4 opimgset.h
4 opfeathr.h
4 objcache.h
4 noisebas.h
4 ngdialog.h
4 newcol.h
4 nativeop.h
4 moldenv.h
4 localenv.h
4 linwthop.h
4 lattrops.h
4 isetattr.h
4 helpids.h
4 grndclik.h
4 gclip.h
4 fuzzclip.h
4 frameops.h
4 fontlist.h
4 fontcomp.h
4 finfodlg.h
4 filtrmgr.h
4 exceptio.h
4 dumbnode.h
4 dlgview.h
4 cversion.h
4 ctrlhelp.h
4 coldrop.h
4 ccarray.h
4 camprocess.h
4 camconfig.h
4 brshname.h
4 bmpsdlg.h
4 bfxpixop.h
3 xpfrgn.h
3 visiattr.h
3 userrect.h
3 tracergn.h
3 textfltr.h
3 styles.h
3 strlist.h
3 sgstroke.h
3 rechblnd.h
3 qualops.h
3 pushtool.h
3 prpslyrs.h
3 prntview.h
3 printing.h
3 plugop.h
3 penedit.h
3 pathutil.h
3 optsunit.h
3 optspage.h
3 opsmpshp.h
3 oilprog.h
3 nodebrsh.h
3 ndbrshpt.h
3 ndbrshmk.h
3 modlist.h
3 mkstroke.h
3 menupref.h
3 menucmds.h
3 invalid.h
3 impstr.h
3 imjpeg.h
3 fttyplis.h
3 fracfill.h
3 fillndge.h
3 ezmodule.h
3 expcol.h
3 dragpick.h
3 diagnost.h
3 cxfmap.h
3 cstroke.h
3 cntrtool.h
3 cliptype.h
3 cachfifo.h
3 brushop.h
3 blobby.h
3 beztool.h
2 zordops.h
2 xpoilflt.h
2 xarprefs.h
2 XaDrwOld.h
2 webprefs.h
2 webop.h
2 webfiltr.h
2 viewmod.h
2 viewmenu.h
2 toolmsg.h
2 tmpltdlg.h
2 thumbmsg.h
2 textacts.h
2 sgline2.h
2 sglib.h
2 sgldrag.h
2 sgindgen.h
2 sgbrush.h
2 sgbitmap.h
2 selinfo.h
2 scroller.h
2 renddlg.h
2 rechview.h
2 rechunit.h
2 rechtext.h
2 rechsmth.h
2 rechshad.h
2 rechrect.h
2 rechprnt.h
2 rechpoly.h
2 rechpath.h
2 rechmld.h
2 rechinfo.h
2 rechgrp.h
2 rechellp.h
2 rechdoc.h
2 rechcomp.h
2 rechcol.h
2 rechbmpp.h
2 rechbmp.h
2 prnmkcom.h
2 pressure.h
2 pngprgrs.h
2 pngfuncs.h
2 plugmngr.h
2 plugin.h
2 pentool.h
2 pathnmex.h
2 palmenu.h
2 optsview.h
2 optstune.h
2 optsscal.h
2 optsprin.h
2 optspntr.h
2 optsmisc.h
2 opsmooth.h
2 opshear.h
2 oprotate.h
2 opretro.h
2 oppull.h
2 opflip.h
2 opbezier.h
2 oilprefs.h
2 oildbug.h
2 noisef.h
2 noise1.h
2 noderend.h
2 nodeelip.h
2 ndmldink.h
2 mtrand.h
2 keymsg.h
2 jpgsrc.h
2 jpgdest.h
2 impbmp.h
2 htmllist.h
2 htmlfltr.h
2 hlinkdlg.h
2 gwinding.h
2 genv.h
2 gdraw2.h
2 gallery.h
2 ftfonts.h
2 freeinfo.h
2 fontdrop.h
2 filelist.h
2 f16spec.h
2 expbmp.h
2 eliptool.h
2 debugdlg.h
2 cxfunits.h
2 cxfrect.h
2 cxfpoly.h
2 cxfnbmp.h
2 cxflists.h
2 cxfellp.h
2 cxfdash.h
2 cxfarrow.h
2 cpyact.h
2 colourmat.h
2 colmenu.h
2 cnamecol.h
2 ccbhfile.h
2 camplatform.h
2 cachweak.h
2 cachrand.h
2 brushdlg.h
2 bmpexprw.h
2 bmpexdoc.h
2 bitmapfx.h
2 bfxdlg.h
2 bblwnd.h
2 aligndlg.h
2 ai_epsrr.h
2 aboutdlg.h
1 vector.h
1 urlimp.h
1 urldlg.h
1 ttfonts.h
1 tipsdlg.h
1 swftext.h
1 swfsprit.h
1 swfshape.h
1 swfrndr.h
1 swfplace.h
1 swffont.h
1 swffiltr.h
1 swfbuttn.h
1 swfbitmp.h
1 sglinepr.h
1 resources.h
1 ralpherr.h
1 psrndrgn.h
1 prnmks.h
1 opwhat.h
1 optsundo.h
1 optsplug.h
1 optsinet.h
1 optsedit.h
1 opscale2.h
1 oilpanse.h
1 nodeset.h
1 nodeabmp.h
1 ngdrag.h
1 liveeffectstool.h
1 lddirect.h
1 kernel.h
1 jpgprgrs.h
1 helptabs.h
1 GVersion.h
1 glatable.h
1 gbrushop.h
1 ftfilter.h
1 freeeps.h
1 fontimpl.h
1 fimagdlg.h
1 fileform.h
1 editsel.h
1 cxftfile.h
1 crthumb.h
1 cmxfiltr.h
1 clamp.h
1 bldbrdef.h
1 bfxtest.h
1 bfxop.h
1 bfxatom.h
1 barcreationdlg.h
1 attraggl.h
1 appstate.h