versioncache considered harmful?

Gervase Markham gerv at mozilla.org
Sun Feb 13 16:42:34 UTC 2005


Maxwell Kanat-Alexander wrote:
> 	Hey there. Do we have any evidence that versioncache actually helps
> performance more than it hurts our code quality? (It's really a
> nightmare -- I just spent about six hours yesterday trying to refactor
> it.)
> 
> 	See https://bugzilla.mozilla.org/show_bug.cgi?id=110503#c8 and let me
> know what you think (on the list, not in Bugzilla).

Have you done any relative performance metrics on the two versions?

Versioncache was (almost certainly) intended as a performance 
optimisation, but that was a long time ago, and it's certainly possible 
that it's no longer necessary. But we'd need evidence of a lack of 
decrease in performance before we remove it.

Common operations like buglists, showing bugs and longlist would need to 
be tested.

Gerv



More information about the developers mailing list