How to profile ONLY my Java package

Questions about YourKit Java Profiler
Post Reply
jiura
Posts: 1
Joined: Sun Aug 18, 2024 8:08 am

How to profile ONLY my Java package

Post by jiura »

Hello! Your profiler has a filter option that allows you to exclude external JAVA functions and many others from the analysis. Is there a function that allows you to do the reverse filtering? That is, to specify ONLY THOSE classes (packages) that MUST be profiled?
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: How to profile ONLY my Java package

Post by Vladimir Kondratyev »

No, there is no such option because your 'profiled' code could be called from 'unprofiled' code, and vice versa. As a result, the call tree will be completely corrupted.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Post Reply