[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev bloat: easier-to-read
From: |
Philip Webb |
Subject: |
lynx-dev bloat: easier-to-read |
Date: |
Wed, 3 Mar 1999 09:45:58 -0500 (EST) |
990301 Jim Spath & Henry Nelson swapped notes on bloating,
but their figures weren't that easy to compare (no criticism intended):
below is a tidier tabular version, which i hope may be helpful.
Object sizes:
2.2 268091
2.5 511511
2.8.2dev.16 958464
Source module sizes:
2-2 2-5 2-8-2dev15
DefaultStyles.o 6419 7701 8089
GridText.o 18980 35856 72906
HTAlert.o 1241 2033 8626
HTFWriter.o 4171 5744 11325
HTInit.o 7134 19779 24562
HTML.o 18121 67664 81429
LYBookmark.o 2250 7022 12163
LYCgi.o 1359 1536 **
LYCharSets.o 15130 13995
LYCharUtils.o 6560 29471
LYClean.o 1061 1095 1676
LYCookie.o 25040
LYCurses.o 2111 2088 7425
LYDownload.o 3563 6013 6759 **
LYEdit.o 1245 1734 2301
LYEditmap.o 582 574
LYExtern.o 741
LYForms.o 4499 5502 13309
LYGetFile.o 2628 8349 13781
LYHash.o 164
LYHistory.o 2470 3603 10253
LYJump.o 5649 5402 **
LYKeymap.o 3380 9672 13753
LYLeaks.o 2176 3433
LYList.o 2733 4632
LYLocal.o 27331 32008 **
LYMail.o 5336 10821 19642 **
LYMain.o 25955 30468 43301
LYMainLoop.o 13562 41714 86023
LYMap.o 4583 6483
LYNews.o 4058 5088 7350 **
LYOptions.o 8450 14865 60954
LYPrint.o 5766 8962 15505
LYReadCFG.o 4237 14706 20904
LYSearch.o 945 2435 3670
LYShowInfo.o 2380 7025 19403
LYStrings.o 5207 7617 27284
LYStyle.o 93
LYTraversal.o 2057 2366 **
LYUpload.o 4786 4058 **
LYUtils.o 7032 18497 53110
LYexit.o 396 1485
LYrcFile.o 6490 11299 21662
UCAuto.o 320
UCAux.o 3121
UCdomap.o 160542
libwww.a 235948 316558 495878
** HN : not linking these reduces Lynx image c 9 % 663552 -> 606208
compiling on sun4 with gcc;
LYDownload.o & LYTraversal.o are almost impossible to exclude;
the others are fairly easy to exclude, but the gain is small.
JS: Some ideas are worth pursuing IMHO,
eg maybe moving ucdomp.o to an external file,
tweaking LYMainLoop logic, making cookies a compile-time choice;
reducing HTML.c logic probably can't be done in a useful way;
removing LYMail.c will not gain that much based on object sizes ( 20 K ).
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : address@hidden
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev bloat: easier-to-read,
Philip Webb <=