Performance hit on the first frame ?

New Message Reply Date view Thread view Subject view Author view

Isabelle Lafon (isabelle++at++discreet.com)
Tue, 31 Aug 1999 11:45:31 -0400


Hi,

pfDraw() call take around 17.06ms to draw a scene the first time.
At following frames it takes only 0.85 ms.

This is not specific to a particular scene, I obtain big timing
differences between the first and following frames for all scenes I
load. Scenes are not modified between frames.

This is not specific to a plateform, I have the same behavior on Onyx2
and Octane, even though the timing difference is less important on Onyx2
than
Octane. This is, also, not specific to the multiprocess configuration;
there
is timing differences in ACD, AC_D and A_C_D

I have checked execution times of all my preDraw, draw and
postDraw callbacks and they don't change from one frame to another.

Does anybody know if performer does some specific and costly work the
first time a scene is drawn (such as scene tree optimization or stuff
like
that)?

Any informations will be very appreciate.
Thanks in advance.

Isabelle.

-- 
Isabelle Lafon                 Discreet Logic
Tel: (514) 954-7157            10 Duke
Fax: (514) 393-0110            Montreal (Quebec)
isabelle++at++discreet.com          Canada, H3C 2L7

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Aug 31 1999 - 08:45:39 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.