Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Other High CPU usage on documentation site

Discussion in 'Documentation' started by CompZen, Mar 10, 2023.

  1. CompZen

    CompZen

    Joined:
    Apr 17, 2021
    Posts:
    3
    I've got crazy CPU usage when I open https://docs.unity3d.com/Packages/com.unity.burst@1.8/manual/index.html

    It goes 100% on one core and never goes low. I am on a laptop, so it is makes documentation unusable for me.

    As far as I understand the problem is with searchWorker.js. I attached screenshot from profiling in Safari. The problem occurs in latest Chrome as well. I am on macOs Ventura 13.
     

    Attached Files:

    mgear likes this.
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,815
    Also confirming.
    Burst page, what performance irony ...

    View from Google Chrome Task Manager:

    upload_2023-3-10_17-54-9.png

    Processor jumps 0 to 50+ for extend duration of time.

    Profiler:

    upload_2023-3-10_17-51-50.png

    upload_2023-3-10_17-52-22.png

    After while it stopped. At least until refreshing page agin.
     
  3. CompZen

    CompZen

    Joined:
    Apr 17, 2021
    Posts:
    3
    Yeah, it does stops after some time, had to wait a bit more afraid my laptop was gonna take off and fly to the moon I guess search worker builds some kind of index when page loads, for searching. But this never happens on any other documentation site. Maybe there is problem with configuration, or event worse - the amount of searchable data is so big a have to wait a few minutes before index gets build. Which sounds unlikely to me.

    It would be kind of ok, if it only happened on first load of page, but it happens even when I click on links inside documentation.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,136
    Report an issue at the bottom of the page
     
  5. JonathanMeaney

    JonathanMeaney

    Unity Technologies

    Joined:
    Jan 28, 2022
    Posts:
    4
    Hey! We're working on this problem and we hope to have a fix live as soon as possible. Thanks for posting about this!
     
  6. anushy1

    anushy1

    Joined:
    Oct 27, 2022
    Posts:
    2
    nice work like it
     
  7. kdchabuk

    kdchabuk

    Joined:
    Feb 7, 2019
    Posts:
    52
    I reported this on the forum here in July, 2022.
    https://forum.unity.com/threads/https-docs-unity3d-com-packages-is-draining-your-battery.1307484/

    The feedback form does not seem to work properly on some popular browsers & extensions that block tracking, and the page doesn't indicate it failed. Usually these extensions can improve online performance, like in this case of high cpu usage.
     
    Last edited: May 2, 2023