[Mondrian] Large number of clone calls associated with MemberTypeenumeration

Julian Hyde julianhyde at speakeasy.net
Sat Jul 14 03:23:37 EDT 2007


> To reduce the number of clone calls we 
> introduced a static array of the enumerated values and used 
> this array in the getMemberType method.

Well spotted. Thanks! Fixed in change 9587.

> The profiler showed about 190 million calls of the clone method.
> Approximately 130 million calls were derived from the
> MemberBase.isCalculated() method

Even after this is fixed, 60 million calls to clone() is still a lot. Did
the profiler show any other major culprits?

Julian




More information about the Mondrian mailing list