You need to sign in to do that
Don't have an account?

Testing speed of Apex?
Is there a way of doing this? I've got a controller that has some features that are taking AGES to run now. Would be nice to see how / why it is getting hung up.
Got some stuff where buttons add/delete contacts to a record but for some reason they are taking ages to do so.
Got some stuff where buttons add/delete contacts to a record but for some reason they are taking ages to do so.
I have two chunks where this happens. One when pressing a button that performs a search (SOQL involved), and one which adds a search result to a record (no SOWL involved).
No idea why the times taken are so huge. The time is all soaked up in a JavaScript callback.