<div dir="ltr"><div style>See the paraview.benchmark python module.</div><div style><a href="http://paraview.org/Wiki/ParaView/Users_Guide/Batch_Processing">http://paraview.org/Wiki/ParaView/Users_Guide/Batch_Processing</a> serves as an example.<br>
</div><div style>The module is pretty old at this point and probably needs to be updated to work with modern ParaView. If there is significant interest I could do so .</div><div><br></div></div><div class="gmail_extra"><br clear="all">
<div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 3:34 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal">I’d like to run some benchmarks with P different parameters in paraview and Python scripting (which I almost never use) seems like a good option.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is it possible, to run an animation over N time steps and record the render time for each of the N frames and save that time to a CSV like file?<u></u><u></u></p>
<p class="MsoNormal">I usually use the timer log to get the last N still renders after running an animation and save that, but from Python, perhaps there is a nice way of scripting this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for any help, examples very welcome if anyone has any.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">JB<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">--
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">John Biddiscombe, email:biddisco @.at.@ <a href="http://cscs.ch" target="_blank">cscs.ch</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><a href="http://www.cscs.ch/" target="_blank"><span style="color:windowtext">http://www.cscs.ch/</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">CSCS, Swiss National Supercomputing Centre | Tel: <a href="tel:%2B41%20%2891%29%20610.82.07" value="+41916108207" target="_blank">+41 (91) 610.82.07</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="IT-CH" style="font-size:10.0pt;font-family:"Courier New"">Via Trevano 131, 6900 Lugano, Switzerland | Fax: <a href="tel:%2B41%20%2891%29%20610.82.82" value="+41916108282" target="_blank">+41 (91) 610.82.82</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="IT-CH"><u></u> <u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>