Re: Profiling, VisualVM random-pause
On Tue, Jan 21, 2014 at 1:50 PM, Yves Parès limestr...@gmail.com wrote: 2) All my methods listed in the profiler are suffixed by .invoke. Is it normal or is pathological of something (I haven't aot-compiled anything, I don't know if it may have an impact here), like unnecessary reflection calls? That's normal. Your fns are compiled to implementors of clojure.lang.IFn, where you can see those invoke methods declared. For methods with rest args, they'll subclass clojure.lang.RestFn, and in profilers you'll see RestFn#invoke calling your function's doInvoke method. -- -- 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/groups/opt_out.
Profiling, VisualVM random-pause
Hi! I'm trying to profile my Clojure code with VisualVM, and I would have 3 questions: 1) The method that always take an awful amount of time is sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run. This is the profiler itself, right? It has nothing to do with REPL connection (I'm not using nREPL during profiling, just a bare lein repl in the terminal) So I can safely consider it as noise and filter it out of the results? 2) All my methods listed in the profiler are suffixed by .invoke. Is it normal or is pathological of something (I haven't aot-compiled anything, I don't know if it may have an impact here), like unnecessary reflection calls? 3) Did anybody try the random-pause method (described here http://stackoverflow.com/a/7211328 ) with Clojure? If so was it useful? It seems smart, but when I see that kind of stuff, I'm always afraid lazy evaluation may damage the interest of such a method. -- -- 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/groups/opt_out.