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.
Each org.netbeans.lib.profiler.charts.axis.TimeAxisUtils.getRangeFlag() method invocation creates two new instances of java.util.GregorianCalendar. Since GregorianCalendar calls System.currentTimeMillis() in constructor and TimeAxisUtils.getRangeFlag() is invoked very frequently when repainting the charts, it would be nice to optimize the code.
Fixed in profiler-main: http://hg.netbeans.org/profiler-main/rev/1cfb18808bf1
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: