Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!rs4u+ From: rs4u+@andrew.cmu.edu (Richard Siegel) Newsgroups: comp.sys.mac Subject: Re: Dhrystone 2 (Actually, LSC weirdness) Message-ID: Date: 15 Mar 88 14:39:11 GMT Organization: Carnegie Mellon University Lines: 36 In-Reply-To: <4004@batcomputer.tn.cornell.edu> In response to an original request from Mr. Chow, I ran the Dhrystone 2.0 under LightspeedC. I have a one megabyte Mac Plus, so I wasn't using MultiFinder. I found that there was absolutely *no* difference in speed between the version run as a project and the version run as a linked application. (There was, of course, a speed gain derived from using the register variables.) It's just speculation, but consider the following: When you compile and launch an unlinked project into a MultiFinder partition, the project file doesn't go through the normal launch process. (Actually, it never does, because it's not an application.) It's very possible that because of the way the project file is launched, the Finder isn't able to steal as many cycles from other applications; this would certainly account for increased performance. Unfortunately, I don't know how the project file is launched, and I don't know how LightspeedC interacts with MultiFinder. And I'm sure you folks don't want me to distract Mr. Kahl from his work. :-) Side issue: Has anyone noticed what an incredible hog the Finder is when it's running under MultiFinder? Is there a good excuse for this besides pure sloppiness and meanness of spirit? :-) --Rich =================================================================== Rich Siegel Confused Undergrad, Carnegie-Mellon University The opinions stated here do not represent the policies of Carnegie-Mellon University. Arpa: rich.siegel@andrew.cmu.edu UUCP: {decvax,ucbvax,sun}!andrew.cmu.edu!rich.siegel ==================================================================