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.

Bug 92229 - Profiler should reduce printing into command line.
Summary: Profiler should reduce printing into command line.
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 15:27 UTC by Peter Pis
Modified: 2011-10-14 15:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-01-10 15:27:21 UTC
NetBeans IDE Dev (Build 200701091900)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Profiler is too "verbose". It prints a lot of information especially while
ending profiled application. 

Example:
Profiler.connectToStartedApp: **************************************************
Profiler.connectToStartedApp: profiling settings -------------------------------
name: Preset: Allocations
profilingType: 2
overrideGlobalSettings: false
workingDir:
jvmArgs:
javaPlatform: <project>
threadsMonitoringEnabled: false
excludeWaitTime: true
cpuProfilingType: 0
instrScheme: 1
threadCPUTimerOn: false
instrumentGetterSetterMethods: false
instrumentEmptyMethods: false
instrumentMethodInvoke: true
instrumentSpawnedThreads: false
nProfiledThreadsLimit: 32
sortResultsByThreadCPUTime: false
samplingInterval: 10
instrumentationRootMethods: []
codeFragmentSelection: null
codeRegionCPUResBufSize: 1000
runGCOnGetResultsInMemoryProfiling: true
allocTrackEvery: 10
allocStackTraceLimit: 0
selectedInstrFilter:
profileUnderlyingFramework: false

Profiler.connectToStartedApp: session settings ---------------------------------
mainClass: com.toy.anagrams.ui.Anagrams
mainClassPath: D:\SunWork\test\subversion\work13\AnagramGame\build\classes
mainArgs:
jvmArgs =
workingDir =D:\SunWork\test\subversion\work13\AnagramGame
javaExecutable =D:\java\jdk1.5.0_11\bin\java.exe
javaVersionString =jdk15
architecture =32
portNo =5140
Comment 1 Jiri Sedlacek 2007-02-16 16:13:23 UTC
Actually this is the best information for us to detect where a problem is when 
evaluating and fixing bugs. Do you know about any better approach to save this 
information for future processing?
Comment 2 Tomas Hurka 2007-11-07 10:34:21 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 3 Tomas Hurka 2009-04-08 12:54:48 UTC
Milestone cleanup: future->next
Comment 4 J Bachorik 2011-10-12 15:37:13 UTC
http://hg.netbeans.org/profiler-main/rev/9b5b59f69eff

Cleaning up profiler logging. 
Removing deprecated ErrorManager and enhancing gesture collection for profiler actions with the information about used root methods and filters. 
Profiler diagnostic is sent to logger with level CONFIG and as such is not turned on as default.
Comment 5 Quality Engineering 2011-10-14 15:14:06 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/9b5b59f69eff
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #92229: Cleaning up profiler logging.
Removing deprecated ErrorManager and enhancing gesture collection for profiler actions with the information about used root methods and filters.
Profiler diagnostic is sent to logger with level CONFIG and as such is not turned on as default.