- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Use case:
Numerous factors can contribute to instances experiencing slowness. However, a prevalent cause is the development of non-standard code, which often leads to performance issues. It is essential to identify which segments of code are executing for extended periods and causing these performance challenges. Are there any out-of-the-box capabilities available to assist in this analysis?
Solution:
To address the aforementioned use case, ServiceNow offers a feature known as 'Slow Scripts.'
This out-of-the-box capability allows users to identify scripts that require excessive execution time, providing details such as the script name and its location—whether it is a business rule, client script, script include, etc. Additionally, the average execution time in milliseconds is recorded in the corresponding table. The information provided facilitates a thorough analysis of your code, aiding in the optimization and enhancement of code efficiency.
#slowcodes #slowScripts #codeExecutionTime #scriptBestPractise
Hope you like it. If any questions or remarks, let me know!
If this helped you in any way, I would appreciate it if you hit bookmark or mark it as helpful.
Regards,
Suresh.
- 1,312 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.