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=8888" > "-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.