Skip to content

Conversation

@TinkerTechie
Copy link
Contributor

Overview

Added a reusable Script Include snippet to measure and log the execution time of server-side scripts.

Details

  • Folder: Server-Side Components/Script Includes/Execution Time Tracker
  • Files:
    • execution_time_tracker.js
    • README.md
  • Helps developers analyze and optimize script performance in ServiceNow.

Example Usage

var timer = new ExecutionTimeTracker();
// ... code logic ...
timer.stop('My Script');

@SapphicFire SapphicFire self-assigned this Oct 25, 2025
Copy link
Contributor

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@SapphicFire SapphicFire merged commit d11c0aa into ServiceNowDevProgram:main Oct 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants