Shandrew (shandrew) wrote,

Zombie javascript banished

Discovered by process of elimination the culprit behind the idle browser page CPU-eating woes. The javascript from "sharethis.{com,net}" causes "idle" pages in Chrome to eat around 6% CPU on my old Macbook Pro.

Additional tabs loading the same javascript consume an additional 6% CPU if they are in a separate process, but a bit less if in the same process.

Many blogs (including LJ) use sharethis. I blackholed and my CPU and battery are happier.

There's also some strange runaway CPU situation caused by an NPR page that's left open for a long while. All of the sudden without any specific user action the CPU usage of that process will shoot to 100%, fans shoot to rocket speed, not stopping until i close the NPR tab.
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.