Logging Syntax Time Profiling

This is a test that succeeds., window; D.testThis is a test that fails. == This is a test that fails., window; D.requestThis is a request message. A request message should be reserved for logging server requests., window; D.responseThis is a response message. A response message should be reserved for logging server responses., window; D.startProfiling’MYprofileID’, window; D.stopProfiling’MYprofileID’, window; D.execfunction{ return Returning this line of code.; } A self-executing function., window;

15.6 Time Profiling

The time it takes to perform a certain action can be measured by using the Contributor console windows time profiling mechanism. Insert the following start and stop methods around the desired action and the minutes, seconds, and milliseconds will be logged to the open Contributor console window after the stop method executes. D.startProfilingMY_PROFILE_ID; Start method TODO: perform some action here. D.stopProfilingMY_PROFILE_ID; Stop method. The start and end methods can reside in separate window contexts, as long as the same profile ID is passed as the first parameter. For example: D.startProfilingMY_PROFILE_ID, window; D.stopProfilingMY_PROFILE_ID, window;

15.7 Command Window Helper Functions