Re: Best tools for profiling Clojure programs?

2014-07-03 Thread ru
Thank you Niels,

вторник, 1 июля 2014 г., 15:10:42 UTC+4 пользователь Niels van Klaveren 
написал:

 A new option for test purposes is included in JDK 1.7.0_40 and up and is 
 called Java Mission Control. It is located in the JDK as /bin/jmc.exe.


Is this tool only for Windows? 


 With it you can connect to a local java process, or remotely through RMI, 
 and record all kinds of performance characteristics in a Flight Recording. 
 Such a flight recording can be a defined for a limited time, or it can 
 buffer the recording to record only the latest x minutes. Overhead depends 
 on the monitoring template used, but is typically around 2%. These 
 recordings can then be browsed, analyzed and queried in a pretty good 
 interface after the recording has been saved.

 To do so, you need to have the following options in your project.clj, and 
 run your project on a JDK  1.7.0_40

 :jvm-opts [
 ; add Flight Recording options
 -XX:+UnlockCommercialFeatures
 -XX:+FlightRecorder
 ; add RMI connection (to connect to process remotely or 
 running as service/daemon)
 ; this example has NO authentication enabled through the 
 RMI port
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=
 -Dcom.sun.management.jmxremote.authenticate=false
 -Dcom.sun.management.jmxremote.ssl=false]


 On Friday, June 20, 2014 3:05:05 PM UTC+2, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for Clojure 
 programs and corresponding documents, articles or tutorials. Thanks in 
 advance.

 Sincerely,
   Ru



-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-07-03 Thread Jakub Holy
No, it is not. At least it is available on Mac too.

On Thursday, July 3, 2014 9:25:44 AM UTC+2, ru wrote:

 Thank you Niels,

 вторник, 1 июля 2014 г., 15:10:42 UTC+4 пользователь Niels van Klaveren 
 написал:

 A new option for test purposes is included in JDK 1.7.0_40 and up and is 
 called Java Mission Control. It is located in the JDK as /bin/jmc.exe.


 Is this tool only for Windows? 


 With it you can connect to a local java process, or remotely through RMI, 
 and record all kinds of performance characteristics in a Flight Recording. 
 Such a flight recording can be a defined for a limited time, or it can 
 buffer the recording to record only the latest x minutes. Overhead depends 
 on the monitoring template used, but is typically around 2%. These 
 recordings can then be browsed, analyzed and queried in a pretty good 
 interface after the recording has been saved.

 To do so, you need to have the following options in your project.clj, and 
 run your project on a JDK  1.7.0_40

 :jvm-opts [
 ; add Flight Recording options
 -XX:+UnlockCommercialFeatures
 -XX:+FlightRecorder
 ; add RMI connection (to connect to process remotely or 
 running as service/daemon)
 ; this example has NO authentication enabled through the 
 RMI port
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=
 -Dcom.sun.management.jmxremote.authenticate=false
 -Dcom.sun.management.jmxremote.ssl=false]


 On Friday, June 20, 2014 3:05:05 PM UTC+2, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for Clojure 
 programs and corresponding documents, articles or tutorials. Thanks in 
 advance.

 Sincerely,
   Ru



-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-07-03 Thread Alex Baranosky
YourKit works well. I've heard good things about JVisualVM, but don't have
experience using it.


On Thu, Jul 3, 2014 at 12:31 AM, Jakub Holy jakub.h...@iterate.no wrote:

 No, it is not. At least it is available on Mac too.


 On Thursday, July 3, 2014 9:25:44 AM UTC+2, ru wrote:

 Thank you Niels,

 вторник, 1 июля 2014 г., 15:10:42 UTC+4 пользователь Niels van Klaveren
 написал:

 A new option for test purposes is included in JDK 1.7.0_40 and up and is
 called Java Mission Control. It is located in the JDK as /bin/jmc.exe.


 Is this tool only for Windows?


 With it you can connect to a local java process, or remotely through
 RMI, and record all kinds of performance characteristics in a Flight
 Recording. Such a flight recording can be a defined for a limited time, or
 it can buffer the recording to record only the latest x minutes. Overhead
 depends on the monitoring template used, but is typically around 2%. These
 recordings can then be browsed, analyzed and queried in a pretty good
 interface after the recording has been saved.

 To do so, you need to have the following options in your project.clj,
 and run your project on a JDK  1.7.0_40

 :jvm-opts [
 ; add Flight Recording options
 -XX:+UnlockCommercialFeatures
 -XX:+FlightRecorder
 ; add RMI connection (to connect to process remotely or
 running as service/daemon)
 ; this example has NO authentication enabled through the
 RMI port
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=
 -Dcom.sun.management.jmxremote.authenticate=false
 -Dcom.sun.management.jmxremote.ssl=false]


 On Friday, June 20, 2014 3:05:05 PM UTC+2, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for
 Clojure programs and corresponding documents, articles or tutorials. Thanks
 in advance.

 Sincerely,
   Ru

  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-07-03 Thread Alex Baranosky
Woops, posting too late... I typed JVisualVM, but meant to say Java Mission
Control.


On Thu, Jul 3, 2014 at 1:10 AM, Alex Baranosky 
alexander.barano...@gmail.com wrote:

 YourKit works well. I've heard good things about JVisualVM, but don't have
 experience using it.


 On Thu, Jul 3, 2014 at 12:31 AM, Jakub Holy jakub.h...@iterate.no wrote:

 No, it is not. At least it is available on Mac too.


 On Thursday, July 3, 2014 9:25:44 AM UTC+2, ru wrote:

 Thank you Niels,

 вторник, 1 июля 2014 г., 15:10:42 UTC+4 пользователь Niels van Klaveren
 написал:

 A new option for test purposes is included in JDK 1.7.0_40 and up and
 is called Java Mission Control. It is located in the JDK as /bin/jmc.exe.


 Is this tool only for Windows?


 With it you can connect to a local java process, or remotely through
 RMI, and record all kinds of performance characteristics in a Flight
 Recording. Such a flight recording can be a defined for a limited time, or
 it can buffer the recording to record only the latest x minutes. Overhead
 depends on the monitoring template used, but is typically around 2%. These
 recordings can then be browsed, analyzed and queried in a pretty good
 interface after the recording has been saved.

 To do so, you need to have the following options in your project.clj,
 and run your project on a JDK  1.7.0_40

 :jvm-opts [
 ; add Flight Recording options
 -XX:+UnlockCommercialFeatures
 -XX:+FlightRecorder
 ; add RMI connection (to connect to process remotely or
 running as service/daemon)
 ; this example has NO authentication enabled through
 the RMI port
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=
 -Dcom.sun.management.jmxremote.authenticate=false
 -Dcom.sun.management.jmxremote.ssl=false]


 On Friday, June 20, 2014 3:05:05 PM UTC+2, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for
 Clojure programs and corresponding documents, articles or tutorials. 
 Thanks
 in advance.

 Sincerely,
   Ru

  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-07-03 Thread Niels van Klaveren
No, also for Oracle JVM on Linux, and 64 bit Mac OS X

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-07-02 Thread Niels van Klaveren
Oops, forgot to state Java Mission Control flight recording is for Oracle 
JVM only.

On Tuesday, July 1, 2014 1:10:42 PM UTC+2, Niels van Klaveren wrote:

 A new option for test purposes is included in JDK 1.7.0_40 and up and is 
 called Java Mission Control. It is located in the JDK as /bin/jmc.exe.

 With it you can connect to a local java process, or remotely through RMI, 
 and record all kinds of performance characteristics in a Flight Recording. 
 Such a flight recording can be a defined for a limited time, or it can 
 buffer the recording to record only the latest x minutes. Overhead depends 
 on the monitoring template used, but is typically around 2%. These 
 recordings can then be browsed, analyzed and queried in a pretty good 
 interface after the recording has been saved.

 To do so, you need to have the following options in your project.clj, and 
 run your project on a JDK  1.7.0_40

 :jvm-opts [
 ; add Flight Recording options
 -XX:+UnlockCommercialFeatures
 -XX:+FlightRecorder
 ; add RMI connection (to connect to process remotely or 
 running as service/daemon)
 ; this example has NO authentication enabled through the 
 RMI port
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=
 -Dcom.sun.management.jmxremote.authenticate=false
 -Dcom.sun.management.jmxremote.ssl=false]


 On Friday, June 20, 2014 3:05:05 PM UTC+2, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for Clojure 
 programs and corresponding documents, articles or tutorials. Thanks in 
 advance.

 Sincerely,
   Ru



-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-07-01 Thread Niels van Klaveren
A new option for test purposes is included in JDK 1.7.0_40 and up and is 
called Java Mission Control. It is located in the JDK as /bin/jmc.exe.

With it you can connect to a local java process, or remotely through RMI, 
and record all kinds of performance characteristics in a Flight Recording. 
Such a flight recording can be a defined for a limited time, or it can 
buffer the recording to record only the latest x minutes. Overhead depends 
on the monitoring template used, but is typically around 2%. These 
recordings can then be browsed, analyzed and queried in a pretty good 
interface after the recording has been saved.

To do so, you need to have the following options in your project.clj, and 
run your project on a JDK  1.7.0_40

:jvm-opts [
; add Flight Recording options
-XX:+UnlockCommercialFeatures
-XX:+FlightRecorder
; add RMI connection (to connect to process remotely or 
running as service/daemon)
; this example has NO authentication enabled through the 
RMI port
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false]


On Friday, June 20, 2014 3:05:05 PM UTC+2, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for Clojure 
 programs and corresponding documents, articles or tutorials. Thanks in 
 advance.

 Sincerely,
   Ru


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best tools for profiling Clojure programs?

2014-06-30 Thread tcrayford
I like YourKit. It's commercial, but really quite good (free for open 
source if you promote them in your readme). I wrote a bit about the perf 
wins I got using yourkit on my app 
here: 
http://yellerapp.com/posts/2014-05-21-tuning-clojure-an-experience-report.html

On Friday, 20 June 2014 14:05:05 UTC+1, ru wrote:

 Hi all,

 What performance profiling instrument somebody can recommend for Clojure 
 programs and corresponding documents, articles or tutorials. Thanks in 
 advance.

 Sincerely,
   Ru


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Best tools for profiling Clojure programs?

2014-06-20 Thread ru
Hi all,

What performance profiling instrument somebody can recommend for Clojure 
programs and corresponding documents, articles or tutorials. Thanks in 
advance.

Sincerely,
  Ru

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Best tools for profiling Clojure programs?

2014-06-20 Thread Mike Fikes
I can speak to existence but not optimality :)

I've use JProfiler, and my experience is that, just like debuggers work, so 
does this particular profiler.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.