Fastcode MM: category weights
- From: "Pierre le Riche" <pleriche@xxxxxxxxxxx>
- Date: Fri, 6 May 2005 11:50:50 +0200
Hi All,
I think we should adjust the weights of the individual categories. Here is
my suggestion (with reasons):
{PLR 6/5/2005 changed weights: Multi-threaded weights were IMO
disproportionately high vs. single threaded. Having multithreaded
benchmarks
carry more than 50% more weight than single-threaded benchmarks is not
realistic?! Should it be exactly balanced?}
WeightPerCategory: array[TBenchmarkCategory] of Double = (
{If your application reallocs a lot in speed-critical code then it is
badly
written (hence the low weight)}
0.08, //bmSingleThreadRealloc
0.12, //bmMultiThreadRealloc
{Alloc and free is the typical behaviour of most apps}
0.10, //bmSingleThreadAllocAndFree
0.15, //bmMultiThreadAllocAndFree
{Replays count the most (this is the closest to real-world behaviour
we've
got at the moment, although memory is not actually "used")}
0.20, //bmSingleThreadReplay
0.30, //bmMultiThreadReplay
{Some anomalies with some of the current speed tests precludes using a
bigger weight.}
0.05 //bmMemoryAccessSpeed
);
Comments?
Regards,
Pierre
.
- Follow-Ups:
- Re: Fastcode MM: category weights
- From: Eric Grange
- Re: Fastcode MM: category weights
- From: Richard Marchand
- Re: Fastcode MM: category weights
- From: Dennis
- Re: Fastcode MM: category weights
- From: Robert Houdart
- Re: Fastcode MM: category weights
- Prev by Date: Re: BucketMem 1.6
- Next by Date: Re: BucketMem 1.6
- Previous by thread: Fast IntToStr
- Next by thread: Re: Fastcode MM: category weights
- Index(es):
Relevant Pages
|