[ET Trac] [Einstein Toolkit] #1297: Reduce time spent in cycling timelevels if there is only one timelevel.

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Mar 25 15:54:20 CDT 2013


#1297: Reduce time spent in cycling timelevels if there is only one timelevel.
--------------------------------------+-------------------------------------
 Reporter:  diener                    |       Owner:  eschnett           
     Type:  enhancement               |      Status:  new                
 Priority:  major                     |   Milestone:                     
Component:  Carpet                    |     Version:  development version
 Keywords:  performance optimization  |  
--------------------------------------+-------------------------------------
 I noticed in a run with gridfunctions with only 1 timelevels that a
 significant amount of time was spent cycling timelevels. The attached
 patch makes the routine bypass a lot of code, if a grid variable only has
 1 timelevel.
 This reduces the total time spent in cycling timelevels from 417 s to 0.8
 s for a run of 32767 iterations.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1297>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list