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.
Reading all files (~38K) and attributes (~150K) from BinaryFS is slow because of calls into String.intern() in initialize:437 method. (two calls).
Created attachment 109556 [details] Eliminating calls to intern. Hřebejku can you find out if this is faster?
Created attachment 109932 [details] Trying to do "intern()" when the file is being written, so it is ready when reading it Hřebejku, please measure and if it is not faster, give me a profiler snapshot.
Looks OK. The measurements show about 10% performance improvement when reading the filesystem.
OK, let's integrate.
ergonomics
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ac91c811bd21 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #199739: Precompute 'intern' on save, so we don't need to call it on load