Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!decwrl!ucbvax!mtxinu!taniwha!paul From: paul@taniwha.UUCP (Paul Campbell) Newsgroups: comp.sys.mac.programmer Subject: Re: ROM Proc bottlenecks? Message-ID: <397@taniwha.UUCP> Date: 29 Jul 89 01:02:32 GMT References: Reply-To: paul@taniwha.UUCP (Paul Campbell) Organization: Taniwha Systems Design, Oakland Lines: 29 In article ba0k+@andrew.cmu.edu (Brian Patrick Arnold) writes: > >120 ROMII : FMSWAPFONT 1495 0 0 11.4% You are spending about 10% of your time switching fonts or rebuilding the font cache - don't do anything that causes the font cache to be rebuilt each time (like setting scaling or fixed width etc before each time you write text - set such options once and leave them that way!) >120 ROMII : ATRAP68020 1185 222 297 10.7% >120 ROMII : EMT1010 485 0 0 3.7% You are also spending 15% of your time in the system call code, this is not uncommon, I've seen this as high as 70%! (Remember that things like FMSWAPFONT etc make lots of calls of their own - so reducing the time you spend in their chances you will spend less time here too) [maybe Apple could spend time trying to make the A-line glue faster - I've looked at it and that's probably pretty hard] Paul -- Paul Campbell UUCP: ..!mtxinu!taniwha!paul AppleLink: D3213 "Free Market": n. (colloq.) a primitive fertility goddess worshipped by an obscure cult in the late 20th C. It's chief priest 'Dow Jones' was eventually lynched by an enraged populace during an economic downturn (early 21st C).