[ET Trac] [Einstein Toolkit] #336: Increase timestamp speed

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Mar 10 09:02:42 CST 2011


#336: Increase timestamp speed
----------------------------------+-----------------------------------------
 Reporter:  eschnett              |       Owner:     
     Type:  enhancement           |      Status:  new
 Priority:  minor                 |   Milestone:     
Component:  EinsteinToolkit trac  |     Version:     
 Keywords:                        |  
----------------------------------+-----------------------------------------
 The current time stamp mechanism in simfactory creates files with a scheme
 "timestamp-NUMBER", where NUMBER denotes the time. Looking for such files
 requires iterating over the directory.

 Instead, we can use a fixed file name, and use the file creation time as
 time stamp. (We can additionally write the time stamp into the file,
 probably in a human readable form.) Accessing this time stamp is a single
 "stat" operation that should be quicker.

 This method has the additional advantage that the time stamps always have
 the same file name.

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


More information about the Trac mailing list