strongloop / strong-arc

StrongLoop Arc has been replaced by API Connect. We recommend Arc users move to the Essentials edition of API Connect. If you have questions, please email reachsl@us.ibm.com.
http://strongloop.com/
Other
114 stars 36 forks source link

Multiple issues for Profiler that needs clarification #1659

Closed smartmouse closed 7 years ago

smartmouse commented 8 years ago

There are a few issues with profiler that needs to clarify the proper usage

  1. It may seems hang at times when loading data/profiling
  2. With multiple processes, loading the same cpu-profiling data file will create multiple "From File" entries on the left hand side -- see screen shot. Sort of confusing. What is the purpose? Thought that we will just click on the process on the left panel and display the data.
  3. With multiple processes, the process does not distinguish the cpu profile data file, i.e. even if the profile1.cpuprofile belonged to another process, it will still load it .
  4. It is a bit confusing on captured heapdump or cpuprofile data, how do we know which process it is for.-- there is no pid associated in the data file.

Steps:

I have multiple processes I have created start CPU Profiling for the first PID 1 Then I click on file , and on the left hand side , I click on the process id, and then load. The I browse to select the profile data file for PID 1 A "From File" entry will be created on the left panel. Then I click on another PID 2, and load the profile data for PID 1. It still allows me to load which is not expected. Another "From File" entry will be created on the left panel. Then I click on another PID 3, and load the profile data for PID 1. Another "From File" entry will be created on the left panel.

profile0 profile1 profilefeeze

smartmouse commented 8 years ago

Randy, please check if we need to enhance the documentation or is this expected behaviour? Sort of confusing for me.

crandmck commented 8 years ago

I'll have a look, ty!