This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Please, have a look at following results file:////net/endif.russia.sun.com/export/home1/deimos/dev/spb/vv159170/Profiling/IDE/ProjectSystem/ItemConfiguration-getItem.html It shows, that we spent 79sec during opening project in the method, that does the following: return "item-" + path; we must prevent such expensive operations of string creations. Is it really necessary to have "item-" prefix? why path is not enough to be id of Item?
I implemented caching of ID. That gave us 2-3 factor in speed for getAllSourceFiles getAllHeaderFiles of NativeProject but the question remains. Do we need "item-" prefix at all?
Maybe not, but I have to be sure before removing it. Other 'things' than items go in the same bag and I have to make sure that thay can all be uniquely identified. Folders are another example. But folder names and item names don't clash so I don't think there is a risk of mixing things up here. I just have to be sure before removing the prefix. Pls leave the iz open and I will get to it before fcs.
Fixed the most grave performance issues. id string is now cached and it has improved performance. Still room for more performance gains so want to keep this IZ open....
Alexander fixed the performance issue with configuration.getAuxObject(getId()) so I consider this issue fixed.