POV-Ray : Newsgroups : povray.beta-test : PovRayUnofficial_3.8.0-alpha.9322209 for macintosh available : Re: PovRayUnofficial_3.8.0-alpha.9322209 for macintosh available Server Time
4 Feb 2023 19:49:18 EST (-0500)
  Re: PovRayUnofficial_3.8.0-alpha.9322209 for macintosh available  
From: pkoning
Date: 17 Oct 2017 15:20:00
Message: <web.59e65730f4864f8f1e101ef10@news.povray.org>
Yvo Smellenbergh <E-mail: yvo(DOT)s(AT)gmx.net> wrote:
> ...
> The slowdown is related to the new compiler version (Xcode 9), somehow
> the compiler isn't optimizing the code for this project.

That would certainly be a problem, but I think there's more going on.  Some of
my models are a lot slower with 3.8.0, and I just noticed a big difference.  It
also appears in the benchmark model

3.7.0 (the "r9" Mac build) shows this:

Render Statistics
Image Resolution 512 x 512
----------------------------------------------------------------------------
Pixels:           294912   Samples:          776043   Smpls/Pxl: 2.63
Rays:            2454702   Saved:             10620   Max Level: 12/12

3.8.0 has this:

Render Statistics
Image Resolution 512 x 512
----------------------------------------------------------------------------
Pixels:           294912   Samples:          779220   Smpls/Pxl: 2.64
Rays:            8101498   Saved:             66232   Max Level: 12/12

The samples/pixel value is slightly different -- I wonder why.  But the Rays
value is VERY different, much larger for 3.8.0.  I see that also in my models
where 3.8.0 is slower, though the factor isn't quite as large.  The details
below that summary (the intersection numbers) are correspondingly larger for
3.8.0 also.

Tracing 4x the rays would certainly slow things down even without "help" from
the compiler.


Post a reply to this message

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