ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50200] VectorSet kills the performance of DirectoryScanner
Date Mon, 13 Dec 2010 14:24:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50200

--- Comment #4 from Sandu Turcan <sanduatwork@hotmail.com> 2010-12-13 09:24:01 EST ---
I've written a test which simply calls .add in a loop.
Here are the results, new implementation vs old:
at 10,000 iterations: new=16ms old=187ms
at 100,000 iterations: new=141ms old=181,314ms

So not only is it noticeable but it grows exponentially.

Thank you very much for the fix.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message