This class is intended to be used to handle op new and delete for GrCustomStage. ...
12 years, 6 months ago
(2012-06-15 14:39:54 UTC)
#1
This class is intended to be used to handle op new and delete for GrCustomStage.
However, I'm holding back adding the new/delete overrides until after the M21
branch. This just adds the class and the unit test.
On 2012/06/19 13:29:05, bsalomon wrote: > I added two benchs. Both randomly alternate between deleting ...
12 years, 6 months ago
(2012-06-19 13:36:32 UTC)
#4
On 2012/06/19 13:29:05, bsalomon wrote:
> I added two benchs. Both randomly alternate between deleting and allocating.
One
> deletes in random order and the other deletes in stack order. On my windows
> machine the random order is 9.5x std new/delete and the stack order is 4.5x.
Not as good as we hoped, but hopefully it'll do. (Didn't you get a preliminary
estimate > 10% slowdown with system malloc?)
Nit: can we also get a sense of the % memory waste in those two benchmarks?
LGTM
On 2012/06/19 13:36:32, TomH wrote: > On 2012/06/19 13:29:05, bsalomon wrote: > > I added ...
12 years, 5 months ago
(2012-06-19 21:14:35 UTC)
#5
On 2012/06/19 13:36:32, TomH wrote:
> On 2012/06/19 13:29:05, bsalomon wrote:
> > I added two benchs. Both randomly alternate between deleting and allocating.
> One
> > deletes in random order and the other deletes in stack order. On my windows
> > machine the random order is 9.5x std new/delete and the stack order is 4.5x.
>
> Not as good as we hoped, but hopefully it'll do. (Didn't you get a preliminary
> estimate > 10% slowdown with system malloc?)
>
> Nit: can we also get a sense of the % memory waste in those two benchmarks?
>
> LGTM
Checked in with a third bench (deletes are in queue order) in r4282. I'll
consider adding memory consumption stats in the next go-round on this.
Issue 6306090: Add GrMemoryPool and test
(Closed)
Created 12 years, 6 months ago by bsalomon
Modified 12 years, 5 months ago
Reviewers: TomH, reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 6