How can we help you today? How can we help you today?

Possible to profile JavaScript through Active Scripting?

In my .NET WinForms application, I'm using the Microsoft Active Scripting (IActiveScript et. al. interfaces) to provide scripting for my application.

I.e. my .NET code can instantiate an active scrtipting host and call JavaScript which in turn can call back to my .NET code.

My question:

Are there any ways to make ANTS Performance Profiler be aware of my scripts and allow me to profile these (i.e. see which JavaScript functions take how much time)?
Uwe Keim
0

Comments

2 comments

  • Russell D
    Thanks for contacting support and for your query. I'm afraid that this isn't possible. Active scripting hosts COM components, and at the very best you could profile the scripting host using APPs COM profiling, assuming that it's managed, but you wouldn't really be able to get any useful information out of it.

    I hope that this answers your question, even though it is a no. Please don't hesitate to contact support if you have any further queries!
    Russell D
    0
  • Uwe Keim
    Thanks, Russel

    I've actually managed to implement Active Scripting Profiling.

    As you said, the information that the profiler provides are rather useless.

    Thanks again for your help!
    Uwe Keim
    0

Add comment

Please sign in to leave a comment.