Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Suggestions for .walltime

Moderators: Vladimir Kondratyev, Anton Katilin

Suggestions for .walltime

Postby hugues » Mon May 12, 2008 12:18 pm


I recently had to fix a lag in my application, and I knew it was related to some file I/O stuff (because of a slow NFS server), but had a hard time finding where exactly.

Until I had the idea to add a few items to my .walltime. GREAT feature :)

The default "values" (see http://www.yourkit.com/docs/70/help/times.jsp) include methods from RandomAccessFile and socket in/out streams.

I just added those :

And I also found that sun.awt.X11.XClipboard.getContents(Object) can be slow in certain circumstances.

So here are my additions:
Code: Select all
java.io.File listFiles *
java.io.File isFile ()V
java.io.File isDirectory ()V
sun.awt.X11.XClipboard getContents (Ljava/lang/Object)Ljava/awt/datatransfer/Transferable

Would it be advisable to have those enabled by default ? I found them useful, so... here are my two cents :)

Also, there is a bunch of other I/O-bound methods in the File class, which I did not need, but others may. Even if all methods are not I/O-bound, it may be simpler to just include "java.io.File * *" inside the .walltime file.


Posts: 1
Joined: Mon May 12, 2008 11:53 am

Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.