X

An Oracle blog about NetBeans Profiler

  • News
    November 4, 2015

NetBeans Profiler 8.1 Released

NetBeans IDE 8.1 include a reworked Java profiler which provides simplified user interface, improved profiling views and optimized engine.


The profiler now uses a single window which contains controls to configure and control the profiling session and display the collected results. The session is configured by selecting a profiling mode using the Profile dropdown menu and started by clicking the Profile button without providing any special settings. If needed, the settings can be tweaked using the Settings pane displayed on demand above the profiling results.


Methods profiler introduces live forward and reverse call trees in addition to the live hot spots view. The data may be filtered or aggregated by selected threads and can be displayed as absolute or incremental values.


Objects profiler displays live allocation call trees if configured and is able to profile instances of just the selected classes, lowering the profiling overhead and amount of collected data.


Telemetry profiler introduces monitoring CPU utilization and GC overhead, Threads profiler adds filtering capabilities to the timeline view. The profiler newly supports taking thread dumps from the profiled application.


Attaching to already running processes has been significantly improved both on the UI and engine side. The profiler now displays all processes available for attach in a table and remembers the selected process between profiling and/or IDE sessions.

Visit http://profiler.netbeans.org to see detailed list of news and changes, read profiler documentation and download NetBeans IDE 8.1 including the profiler.

Join the discussion

Comments ( 7 )
  • EagleEye1984 Wednesday, April 20, 2016

    Why there is no option to export result into csv, html or any other format as it was before? It would make it easier to compare the results ...


  • Jiri Sedlacek Wednesday, April 20, 2016

    Of course this option is available in the new profiler - just take a snapshot of the data and use the second toolbar action "Export data to file or image".


  • EagleEye1984 Wednesday, April 20, 2016

    Found it in mean time. Thanks & Sorry,

    EagleEye1984


  • guest Wednesday, May 11, 2016

    Why is it so much more difficult to select classes for instrumented profiling points? I should be able to select entire packages or projects to profile everything instead of being able to add only classes.

    After I add classes from a package and click ok, I then have to re-open the window and navigate to the next package to selects classes. This is ridiculous.


  • Jiri Sedlacek Wednesday, May 11, 2016

    Thanks for the feedback! The new profiler is intentionally designed to allow only a limited set of classes to be profiled using instrumentation. This prevents the beginner users from misconfiguring the session, typically you don't need to instrument whole packages.

    In case you are an advanced user and want to have better control of what is being instrumented and profiled, enable the 'Defined classes' mode using Tools | Options | Java | Profiler | General | Enable manual setup for Methods and Objects. See http://wiki.netbeans.org/ProfilerExpertFeatures for details.


  • guest Saturday, January 14, 2017

    http://wiki.netbeans.org/ProfilerChangesFromPrevious

    Simplified profiler setup

    One-click profiling without setting up anything

    Selecting methods/classes for detailed profiling using checkboxes in results

    Improved attaching to running processes, selected PID is remembered for subsequent sessions

    - this makes instrumenting projects with hundreds of packages and 1000's of classes impractical/almost impossible.

    IS THERE A WAY to instrument classes based on package and class pattern like there used to???

    With this new "improved" profiler I am now looking for a different profiler to use.

    Please let me know if there is a way to do that.

    I'm hoping that I am just not seeing it.

    The Netbeans Profiler has been one of the best I've used in the past, but now, I can barely use it for my needs.


  • guest Saturday, January 14, 2017

    awesome!!!

    thank you for the expert "Defined Classes" option.

    that totally solves my problem and I can continue to use this awesome profiler!!!


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.