POV-Ray : Newsgroups : povray.beta-test : Long parse time Server Time
1 Nov 2024 05:19:38 EDT (-0400)
  Long parse time (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Fabien Mosen
Subject: Long parse time
Date: 11 Feb 2004 15:40:13
Message: <402a932d$1@news.povray.org>
I have a somewhat complex scene which gives me strange parsing
times on different computers :
  Athlon 1333 Mhz - Win 2000 - 512 Mb
   POV 3.5 : 23 seconds
   POV 3.6 : 44 seconds

   Intel P4 2.8 Mhz - Win XP - 512 Mb
   POV 3.5 : 18 seconds
   POV 3.6 : 55 seconds

The scene contains CSG, many macros, several big meshes, a big
image_map, #reads a big file.  It does NOT contain photons,
isosurfaces, HF...

Rendering time seems normal (though I didn't compare accurately).

Does anyone noticed similar behaviour ?

Fabien.


Post a reply to this message

From: ingo
Subject: Re: Long parse time
Date: 12 Feb 2004 11:59:53
Message: <Xns948DB71585AF5seed7@news.povray.org>
in news:402a932d$1@news.povray.org Fabien Mosen wrote:

> Does anyone noticed similar behaviour ?
> 

Yes, I noticed using my mesh generation include files. The use loops and 
functions a lot.


Ingo


Post a reply to this message

From: Gilles Tran
Subject: Re: Long parse time
Date: 15 Feb 2004 14:54:38
Message: <402fce7e@news.povray.org>

news:402a932d$1@news.povray.org...
> I have a somewhat complex scene which gives me strange parsing
> times on different computers :

I just observed a similar behaviour - worse in fact. With a scene containing
essentially big meshes (mesh2):
POV-Ray 3.5 - parsing 65 s
POV-Ray 3.6b1 - parsing 149 s

With one mesh (#include only, about 400000 tokens): 19 seconds in 3.6b1 vs 8
seconds with 3.5.

Intel P4 1.7Gz, Windows XP HE SP1, 1GB RAM.

G.


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Gilles Tran
Subject: Re: Long parse time
Date: 15 Feb 2004 15:44:13
Message: <402fda1d$1@news.povray.org>

news:402a932d$1@news.povray.org...

> Does anyone noticed similar behaviour ?

In addition to meshes, a simple loop causes it too.

#declare i=0;
#while (i<100000)
    sphere{0,1 translate x*i*2 pigment{rgb x}}
    #declare i=i+1;
#end

Takes 19s with 3.6b1, 8s with 3.5
Intel P4 1.7Gz, Windows XP HE SP1, 1GB RAM.

G.

-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Warp
Subject: Re: Long parse time
Date: 15 Feb 2004 16:04:58
Message: <402fdefa@news.povray.org>
An early pre-beta version of 3.5 had a similar problem and it was caused
by it using C++ streams to read the input. When they were changed to
C streams the speeds went back to the 3.1 speeds.

  I wonder if the reason is the same now...

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Christoph Hormann
Subject: Re: Long parse time
Date: 15 Feb 2004 16:08:04
Message: <r035g1-jco.ln1@triton.imagico.de>
Gilles Tran wrote:
> [...]
> 
> #declare i=0;
> #while (i<100000)
>     sphere{0,1 translate x*i*2 pigment{rgb x}}
>     #declare i=i+1;
> #end
> 
> Takes 19s with 3.6b1, 8s with 3.5
> Intel P4 1.7Gz, Windows XP HE SP1, 1GB RAM.

I did a quick test here on Linux and it parses in ~31s on 3.5 and 21s on 
3.6 here, that difference is at least partly due to different 
optimizations - i assume the same for your 3.5/3.6 difference observation.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Long parse time
Date: 15 Feb 2004 16:22:30
Message: <402fe316$1@news.povray.org>
In article <402fdefa@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   I wonder if the reason is the same now...

No.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Gilles Tran
Subject: Re: Long parse time
Date: 15 Feb 2004 16:30:36
Message: <402fe4fc$1@news.povray.org>

news:r03### [at] tritonimagicode...

> I did a quick test here on Linux and it parses in ~31s on 3.5 and 21s on
> 3.6 here, that difference is at least partly due to different
> optimizations - i assume the same for your 3.5/3.6 difference observation.

Perhaps someone on a non-Windows platform should test the mesh parsing too.
If you haven't one I can see if I can put one for download.
Actually I'm back to 3.1 as far as parsing time is concerned :D
I should add that this seems to affect only the parsing time, not the render
time. I noticed that it's a different compiler too.

G.

-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Christoph Hormann
Subject: Re: Long parse time
Date: 15 Feb 2004 17:10:03
Message: <im65g1-ef8.ln1@triton.imagico.de>
Gilles Tran wrote:
> 
> Perhaps someone on a non-Windows platform should test the mesh parsing too.

Mesh parsing is about the same here as the loop, i only tested a very 
small mesh that only took about 5 seconds so it is not very accurate but 
3.6 is slightly faster than 3.5.

> Actually I'm back to 3.1 as far as parsing time is concerned :D

3.1 is indeed much faster for the loop here as well (the mesh was a 
mesh2 so i could not test it), but the changes from 3.1 to 3.5 were 
fairly large so this is quite understandable (more features -> slower 
parsing).

> I should add that this seems to affect only the parsing time, not the render
> time. I noticed that it's a different compiler too.

You could try Megapov 0.7 and Megapov 1.0 in comparison.  You should 
also notice that with parsing times of only a few seconds you should 
always run the test several times because speed of file access will 
strongly vary.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Francois Labreque
Subject: Re: Long parse time
Date: 15 Feb 2004 22:06:30
Message: <403033b6$1@news.povray.org>
Program ended abnormally on 15/02/2004 15:44, Due to a catastrophic Gilles Tran 
error:


> news:402a932d$1@news.povray.org...
> 
> 
>>Does anyone noticed similar behaviour ?
> 
> 
> In addition to meshes, a simple loop causes it too.
> 
> #declare i=0;
> #while (i<100000)
>     sphere{0,1 translate x*i*2 pigment{rgb x}}
>     #declare i=i+1;
> #end
> 
> Takes 19s with 3.6b1, 8s with 3.5
> Intel P4 1.7Gz, Windows XP HE SP1, 1GB RAM.
> 
> G.
> 

I figured that on a slower machine, the difference would be more noticeable,

Version:	Parse times:
--------	------------
POV 3.1:		19s.
MegaPOV 0.7:		20s.
POV 3.5 (ICL):		17s.
MegaPOV 1.0 (MSVC):	20s.
POV 3.6 (beta1):	28s.

I noticed that 3.6 updates the status line while parsing this scene while 
previous versions only had a "parsing..." message, maybe the added calculations 
and time spent updating the status line have something to do with it.

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{orthographic location<6,1.25,-6>look_at a }


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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