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.
Summary: | BinaryFS call to intern is slow. | ||
---|---|---|---|
Product: | platform | Reporter: | Petr Hrebejk <phrebejk> |
Component: | Filesystems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Eliminating calls to intern.
Trying to do "intern()" when the file is being written, so it is ready when reading it |
Description
Petr Hrebejk
2011-06-27 15:30:34 UTC
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 |