99% in native or optimized code. help needed
Hi,
I have a problem with dotTrace...
JetBrains dotTrace Performance 4.5.1 Professional Edition
Build 4.5.922.8 on 2011-08-03T20:55:00
If I run it in samling mode I got 99% in native or optimized code in snapshot (which is not true obviously).. which makes it absolutely useless... I mean while it's possible to have native method call (or callback) in stacktrace it doesn't mean that I'm not interested to know which methods are calling 'native or optimized code'...
I'm running win7x64 .net4
Needless to say that in tracing mode I don't see these native mode but it's so much slower compared to sampling mode (which is also terribly slow) that it's not possible to profile real life scenario...
Any ideas of how to deal with 'native or optimized code' ???
Please sign in to leave a comment.
Hello Nick
Sorry for delayed response! This is a known problem and you're welcome to monitor its status at http://youtrack.jetbrains.net/issue/DTRC-6018.
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I am seeing the same problem with dotTrace 5.3.1 when profiling IIS Applications. I need help!
Same effect here, using dotTrace 5.5:
Attaching to w3p shows 99% in native or optimized code, and Tracing mode is N/A.
Reading other threads in this forum, I'd presume the issue was resolved long ago. Does it still affect V5.5?
Is there anything I could be doing wrong?
I've attached some logs, any help would be highly appreciated.
Regards,
Thomas
Attachment(s):
JetBrainsLog.dotTrace.2014-09-29T16-11-13.JetBrains_dotTrace_ExternalLauncherProcess#9340.log.zip
JetBrainsLog.dotTrace.2014-09-29T16-11-13.JetBrains_dotTrace_ExternalLauncherProcess#9340.Core#0.log.zip
JetBrainsLog.dotTrace.2014-09-29T16-08-41.dotTrace#14192.log.zip
Hello Thomas,
Did your application work fine and produce some results during the profiling session?
Could you please perform an experiment? Try to profile our demo application the same way you profiled your own application and send us the corresponding log files.
Kind regards,
Maria
Hi Maria,
sorry for the delay, here are the files.
Regards,
Thomas
Attachment(s):
JetBrainsLog.dotTrace.2014-10-14T08-33-29.JetBrains_dotTrace_ExternalLauncherProcess#9388.log.zip
JetBrainsLog.dotTrace.2014-10-14T08-33-29.JetBrains_dotTrace_ExternalLauncherProcess#9388.Core#0.log.zip
JetBrainsLog.dotTrace.2014-10-14T08-31-14.dotTrace#11048.log.zip
Is there any update on this? I am still unable to use your product. I am on version 5.5.4. I have never gotten a useful trace from it.
Hello Thomas,
Sorry for the delay. According to the information in the log files, there were no errors during profiling, all operations were correctly performed and completed. Is it possible for you to attach or send us your snapshot with suspicious results?
Kind regards,
Maria
Hello Steven,
Could you please attach a snapshot with suspicios results?
Kind regards,
Maria
I am running into a similar issue. Here is the snapshot that shows majority of the work being done in "Native or Optimized code"
.
P.S I am using dotTrace performance v 5.5.4 and was attaching to the w3wp process associated with my MVC 5 application.
Hello Pushkar,
The reason why you see 90,75% of native or optimized code is that you run your web application using IIS which is a native application itself. Do you see your own methods in this snapshot?
Kind regards,
Maria
@Maria - I do see calls to a couple of my own methods under the main thread. The threads tree seems to indicate they take about 4% of the time each