Article View: news.software.readers
Article #5024Re: Tin v1.2 PL1 Slooooowww ?
From: Pope Clifton
Date: Thu, 22 Jul 1993 01:12
Date: Thu, 22 Jul 1993 01:12
38 lines
2223 bytes
2223 bytes
Norb Brotz (nbrotz@poplar15) wrote: : Craig Bruce (cbruce@bnr.ca) wrote: : : Is it just me, or is the latest version of tin (with Xref : : extensions) a *lot* slower on group entry.... : : Anyone else find it almost unbearable ? ... : I'm running 1.21 using nntp and local index files. I built tin : w/ profiling (-pg option) and found that the parse_unread() routine : is taking all of the time. QUICK FIX FOR 1.21 USERS: To see that the newsrc handling is the problem, just create a .newsrc file which has only a small number of lines in it, and your performance will rocket. I cut mine from 3200 lines (mostly unsub'd) to my 40 subscribed groups as follows: cp .newsrc newsrc.bak && sed '/!/d' newsrc.bak > .newsrc Tin jumped in speed incredibly (probably 80 times), both on entering and exiting groups. : (I'm also rewriting parse_unread() to make it faster. But it will : have to be ~5 to 10x faster to be tolerable without the change to : read_newsrc_lines().) I will look at this area and see what I can unriddle. Personally, I'd say that parse_unread() would have to be more like 40x faster, if it may be called for every extant group every time any group is selected. -- Clifton -- cliftonr@netcom.com, Pope of the Church of the Subgenius in Paradise "please forgive the profundity of these meditations whenever i have nothing particular to say i find myself always always plunging into cosmic philosophy or something" archy
Technical Details
Message-ID:
<cliftonrCAJKoo.JBu@netcom.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!gatech!concert!news-feed-1.peachnet.edu!umn.edu!csus.edu!netcom.com!cliftonrReferences:
<1993Jul15.133328.5809@bnr.ca> <1993Jul20.161725.28148@hemlock.cray.com>Show Full Headers
Complete Article Headers
Message-ID: <cliftonrCAJKoo.JBu@netcom.com> Subject: Re: Tin v1.2 PL1 Slooooowww ? Date: Thu, 22 Jul 1993 01:12:23 GMT From: cliftonr@netcom.com (Pope Clifton) References: <1993Jul15.133328.5809@bnr.ca> <1993Jul20.161725.28148@hemlock.cray.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!gatech!concert!news-feed-1.peachnet.edu!umn.edu!csus.edu!netcom.com!cliftonr Newsgroups: news.software.readers Organization: Dr. Anaconda's Solar Fun Club X-Newsreader: TIN [version 1.2 PL1] Lines: 38