POV-Ray : Newsgroups : povray.beta-test : Cached Macros! : Re: Cached Macros! Server Time
20 Apr 2024 12:20:23 EDT (-0400)
  Re: Cached Macros!  
From: Jaime Vives Piqueres
Date: 18 Jul 2016 07:29:49
Message: <578cbdad@news.povray.org>
El 18/07/16 a las 11:48, clipka escribió:
> I'd be interested to hear from the Linux jockeys how they are faring
> with in-file macro invocation. I'd expect a similar picture as with
> Windows, but the "sweet spot" may be around 0.5k worth of code
> between macro declaration and invocation, since that's the size of
> the buffer on Unix. Then again, Unix may provide additional buffers
> for file access -- there must be a reason why POV-Ray's own buffers
> where chosen that small on the Linux platform.

   Using Thomas example on my recently installed Ubuntu 16.04:

   current alpha, inside : 1m20s
   current alpha, outside: 1m20s
   previous alpha, inside: 8m11s
   previous alpha, outside: 12m46

   Can I just say "wow!"?


> One thing seriously worrying me, however, is that the version using
> cached macros exhibits seriously worse parsing performance on the
> 2nd and any subsequent runs, taking about 100 seconds instead of 60
> seconds. Not sure yet what's going on there.
>

   Cannot see that here... subsequent runs still take 1m20s.


--
jaime


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.