Response time on forms

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Response Time on Forms

    The response time indicator, represented by a clock icon, helps ServiceNow users monitor the processing time of transactions on forms and lists. It provides total processing time and breaks down the time taken at each step, including network, server, and browser processing times. Users can click the icon to toggle detailed response time information and hover over it to view tooltips with specifics.

    Show full answer Show less

    Key Features

    • Response time details for completed transactions are displayed at the bottom right of forms.
    • Administrators can disable this feature by modifying the glide.ui.responsetime property in the System Properties table.
    • The Client Transaction Timings plugin offers additional insights into time spent on the client, server, browser, and network, aiding in performance issue identification.

    Key Outcomes

    By monitoring response times, users can identify unusual delays in transactions and investigate potential causes, such as server load or inefficient queries. Recommendations for improving performance include adding indexing for slow transactions, avoiding cache flushes during business hours, and contacting support if no specific issues are found. This proactive approach enhances overall system efficiency and user experience.

    A response time indicator (clock) appears at the bottom right of many forms and lists.

    This indicator provides the processing time for a completed transaction, including the total time and the time for each step. Click the icon to show and hide the response time details. Point to the icon to see a tooltip with the details. The following example shows the response time for retrieving a filtered list in a demo instance.

    Figure 1. Response time
    Response time ms 1019 network 3 server 526 browser 490
    In this example, the transaction took the following amount of processing time:
    • 1019 milliseconds total time
    • 3 milliseconds moving data across the network
    • 526 milliseconds on the server
      Note:
      Server time is calculated using the following formula:
      server time = (client response time - browser time - client network time)
    • 490 milliseconds in the browser, rendering the HTML and parsing and executing JavaScript

    Response does not appear for simple operations, such as paging, changing a list sort order, or for the first transaction in a session.

    To view a detailed breakdown of the browser processing time on forms, click browser.

    Figure 2. Browser response time details
    Response statistics

    Administrators can disable the response time by setting the glide.ui.response_time property to false in the System Properties [sys_properties] table. In the Navigation filter, enter sys_properties.list and search for glide.ui.response_time.

    When you review response times, look for the following issues.
    1. A period where all transactions took an unusually long time. For example, transactions that normally took 1 second took 15 seconds between 11:00 AM and 11:20 AM. This issue can indicate that an unusual load, such as a large report, ran on that app server during that time.
    2. A specific transaction which repeatedly took an unusually long time. For example, the list of closed incidents sorted by short description took 30 seconds each time it was displayed. This issue can indicate that a particular transaction put an unusual database load on the system, such as sorting 500,000 records on an unindexed field.
    Try the following actions to improve performance.
    1. Look for one or more transactions that span the entire window. For example, you observe that the response was slow for six minutes and one transaction ran the entire time. You can try adding additional indexing to the database to make the transaction faster. Certain types of queries are always going to run more slowly than others, regardless of indexing.
    2. Ensure that a cache flush is not being run during business hours. Cache flushes are intended to prevent older data from interfering with changes and updates, and are performed automatically when using update sets. Scheduled cache flushes, using cache.do, can affect overall performance, and degrade system response times. Do not run cache flushes during business hours, and do not trigger cache flushes automatically.
    3. If you cannot find any specific issues when experiencing slow response time, contact support to see if there are global issues with the application server hardware.

    Client transaction timings

    The Client Transaction Timings plugin provides extra information about the amount of time spent on both the client and server side, and by the browser and network. This feature not only helps find long-running processes, but also provides information about where in the process the performance issue is caused.