Long running script slowing computer

Cathy Forehand 0 Reputation points
2025-11-27T01:08:53.64+00:00

How can I find the cause of a "long running script" that slows my computer down immensely?

Microsoft Edge | Speed and responsiveness | Windows 11
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-11-27T01:09:04.17+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To find the cause of a "long running script" that slows your computer down, you can use the following approaches:

    1. Use Performance Tools: In Microsoft Edge, you can take a recording in the Performance tool to identify any long Evaluate Script events. This will help you pinpoint where the script is taking too long to execute.
    2. Collect JavaScript CPU Profiles: If you notice performance issues, consider collecting a JavaScript CPU profile. This profile will show you where runtime is spent within the functions of your page, helping you identify inefficient scripts.
    3. Review Common JavaScript Problems: Look for common issues that might be affecting your script's performance, such as:
      • Expensive input handlers that affect response or animation.
      • Badly timed JavaScript that affects load and response times.
      • Long-running JavaScript that stalls events like DOMContentLoaded.
      • Garbage collection issues due to inefficient scripts.

    By analyzing these areas, you can identify and address the specific causes of the long running script that is affecting your computer's performance.


    References:

    0 comments No comments

  2. Lester Bernard Reyes 68,300 Reputation points Independent Advisor
    2025-11-27T01:47:01.96+00:00

    Hi, I'm Bernard, a fellow Windows user. I'm happy to help!

    This issue occurs when there are unnecessary services that are running in the background, such as third-party anti-virus software. Does it only happen when using Microsoft Edge or even other browsers? If this is only happening when using Edge, kindly follow the steps below:

    Method 1. Repair Microsoft Edge

    Go to Settings > Apps > Apps & Features

    Scroll down and click Microsoft Edge > Click Modify, then follow the prompt to repair.

    You may also check the steps from this link: https://helpdeskgeek.com/how-to-repair-microsoft-edge-on-windows-10/

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Method 2. Do a clean boot:

    A “clean boot” starts Windows with a minimal set of drivers and startup programs, so that you can determine whether a background program is interfering with your game or program.

    • In the search box on the taskbar, type msconfig and select System Configuration from the results.
    • On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all.
    • On the Startup tab of System Configuration, select Open Task Manager.
    • Under Startup in Task Manager, for each startup item, select the item and then select Disable.
    • Close Task Manager.
    • On the Startup tab of System Configuration, select OK. When you restart the computer, it's in a clean boot environment.

    Troubleshooting reference: https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.