[vtk-developers] vtkGarbageCollector performance
Clinton Stimpson
clinton at elemtech.com
Wed Feb 23 21:05:11 EST 2011
On Feb 23, 2011, at 11:38 AM, Sean McBride wrote:
> On Tue, 1 Feb 2011 19:14:54 -0500, Sean McBride said:
>
>> We've been profiling our app and finding that lots of time is spent in
>> VTK's garbage collector.
>>
>> Part of the problem is that we are creating too many temporary objects,
>> but I still wanted to investigate a little to see if there are any
>> obvious improvements to be had in vtkGarbageCollector itself.
>
> Hi all,
>
> I've put my vtkGarbageCollector performance improvements here:
> <http://review.source.kitware.com/1052>
> <http://review.source.kitware.com/1053>
>
> Anyone care to review?
>
What kind of improvements were you able to see?
I've been sprinkling Push/Pop's in code where garbage collection is slow, but that's not an ideal solution for some parts of the code.
Clint
More information about the vtk-developers
mailing list