Skip to content
  • finetjul's avatar
    ENH: Add Scene Performance test · 9ecca3f0
    finetjul authored
    It measures time spent by some scene actions such as loading, closing,
    restoring, relayouting a scene or modifying/adding nodes.
    Issue #2642
    
    Example of performance on a MacBookPro laptop (2.4GHz):
    AddData (BrainAtlas2012.mrb) took 44865 msecs
    CloseScene () took 28706 msecs
    AddData (BrainAtlas2012.mrb) took 44579 msecs
    ModifyNode (vtkMRMLScalarVolumeNode1) took 4 msecs
    ModifyNode (vtkMRMLScalarVolumeNode2) took 35 msecs
    ModifyNode (vtkMRMLScalarVolumeNode3) took 20 msecs
    ModifyNode (vtkMRMLModelHierarchyNode2) took 14 msecs
    ModifyNode (vtkMRMLModelNode4) took 0 msecs
    ModifyNode (vtkMRMLModelDisplayNode5) took 14 msecs
    ModifyNode (vtkMRMLModelHierarchyNode3) took 13 msecs
    ModifyNode (vtkMRMLModelStorageNode1) took 4 msecs
    ModifyNode (vtkMRMLModelHierarchyNode301) took 18 msecs
    ModifyNode (vtkMRMLModelDisplayNode304) took 23 msecs
    ModifyNode (vtkMRMLModelHierarchyNode51) took 19 msecs
    AddNode (vtkMRMLModelNode302) took 46 msecs
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@21579 3bd1e089-480b-0410-8dfb-8563597acbee
    9ecca3f0