You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripting-docs/winscript/active-script-profiling-overview.md
+23-24Lines changed: 23 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
title: "Active Script Profiling Overview | Microsoft Docs"
3
3
ms.custom: ""
4
4
ms.date: "01/18/2017"
5
-
ms.prod: "windows-script-interfaces"
6
5
ms.reviewer: ""
7
6
ms.suite: ""
8
7
ms.tgt_pltfrm: ""
9
8
ms.topic: "article"
10
-
helpviewer_keywords:
9
+
helpviewer_keywords:
11
10
- "Active Script Profiling"
12
11
ms.assetid: eec2f413-6605-4df4-a86f-4919755e9358
13
12
caps.latest.revision: 10
@@ -16,27 +15,27 @@ ms.author: "mikejo"
16
15
manager: "ghogen"
17
16
---
18
17
# Active Script Profiling Overview
19
-
The [Active Script Profiler Interfaces](../winscript/reference/active-script-profiler-interfaces.md) enable profiling of a scripting engine. Active Script Profiling consists of the following parts:
20
-
21
-
- Language Engine
22
-
23
-
- Host
24
-
25
-
- Profiler
26
-
27
-
## Language Engine
28
-
The language engine executes the script. It provides methods that enable profiling of the script code as it is executed. When profiling is enabled, the language engine takes the class identifier (CLSID) of the profiler COM object as an argument. It creates an instance of the profiler COM object and then calls into the profiler when various events occur.
29
-
30
-
The language engine implements [IActiveScriptProfilerControl Interface](../winscript/reference/iactivescriptprofilercontrol-interface.md).
31
-
18
+
The [Active Script Profiler Interfaces](../winscript/reference/active-script-profiler-interfaces.md) enable profiling of a scripting engine. Active Script Profiling consists of the following parts:
19
+
20
+
- Language Engine
21
+
22
+
- Host
23
+
24
+
- Profiler
25
+
26
+
## Language Engine
27
+
The language engine executes the script. It provides methods that enable profiling of the script code as it is executed. When profiling is enabled, the language engine takes the class identifier (CLSID) of the profiler COM object as an argument. It creates an instance of the profiler COM object and then calls into the profiler when various events occur.
28
+
29
+
The language engine implements [IActiveScriptProfilerControl Interface](../winscript/reference/iactivescriptprofilercontrol-interface.md).
30
+
32
31
> [!NOTE]
33
-
> The [!INCLUDE[javascript](../javascript/includes/javascript-md.md)] language runtime checks the JS_PROFILER environment variable on creation to determine whether profiling should be enabled. If this variable is set to the CLSID of the profiler, the language runtime creates an instance of the profiler COM object, using the value of the variable to determine which profiler to create.
34
-
35
-
## Host
36
-
The host creates the language engine and provides the language engine with scripts to be executed. A smart host also provides the document context that can be used by a debugger or profiler to provide better information when you are debugging or profiling.
37
-
38
-
## Profiler
39
-
The profiler receives the calls from the language engine when various events occur. The profiler must be registered as a COM object and must implement the [IActiveScriptProfilerCallback Interface](../winscript/reference/iactivescriptprofilercallback-interface.md) interface.
40
-
41
-
## See Also
32
+
> The [!INCLUDE[javascript](../javascript/includes/javascript-md.md)] language runtime checks the JS_PROFILER environment variable on creation to determine whether profiling should be enabled. If this variable is set to the CLSID of the profiler, the language runtime creates an instance of the profiler COM object, using the value of the variable to determine which profiler to create.
33
+
34
+
## Host
35
+
The host creates the language engine and provides the language engine with scripts to be executed. A smart host also provides the document context that can be used by a debugger or profiler to provide better information when you are debugging or profiling.
36
+
37
+
## Profiler
38
+
The profiler receives the calls from the language engine when various events occur. The profiler must be registered as a COM object and must implement the [IActiveScriptProfilerCallback Interface](../winscript/reference/iactivescriptprofilercallback-interface.md) interface.
0 commit comments