ElKlaaso
unread,Jun 4, 2010, 5:11:12 AM6/4/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ColdSpring-Users
Hi,
I just wanted to share (if you didnt know this already), that JRockit
and its mission control are so useful for optimizing performance.
What i do when a page or something runs slow, is that i start mission
control, start a JRA recording of about 1 minute. And then refresh the
page for that 1 minute. Then in the recording in mission control i go
to Code->Hot Methods.. and i get all the java methods that took the
most time.
Especially useful in this is the coldfusion.runtime.UDFMethod.invoke
in this hot methods list, if i decollapse it i see all the coldfusion
(including recognizable cfc methods) that took the most time
percentage wise.
For example, i see that listGetAt and listAppend are horrible..
Also, when i viewed mark's presentation on coldspring 2, he said that
he wanted to use getComponentMetadata and instanceOf to make it
faster. My experience is, when i tried making reactor faster, that
getMetadata/getComponentMetadata/InstanceOf all result in the same
Java function to be used. All 3 are slow. If they are called a
reasonable amount of times they always end up on top of the hot
methods list.
greets,
klaas