Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDuckduckgo starts cpu racing and doesn't finish #7635
Comments
|
If saved locally it loads quickly and resize works properly though the page doesn't look correct. |
|
@mdinger is there any interesting output if you run with |
|
Sure. Let me know if you need more info. Killed it around 30 seconds in. You need a longer profile?
|
|
Interesting that there's zero profiling information from script. Sounds like that's our culprit for the CPU usage. |
|
Does that mean you need a more detailed profile from something like codeanalyst or that you have enough info here? |
|
If you want to run Servo under something like |
|
Eh, I'm not sure what you're after here but I got a flamegraph. My first try was with a release build which didn't have symbols. I tried a debug but I still think I'm missing symbols (this was a 10 min profile). Is there a specific process to set it up for servo? I'm not sure if it's a build issue or something else. Firefox always provided symbols via some server of something I think. |
|
Hmm, I don't really know what to make of that, especially the tower of |
|
@metajack Thanks. I'll give it a shot. |
|
Same result with release after what @metajack pointed out was uncommented. Actually, the last was from a debug build which I would think would have symbols too. I don't know how to fix this. |
|
I ran this under Instruments' Time Profiler on OS X and found all of the activity appears to be under rendering code. |
|
13% under WorkerThread::optimize_and_paint_tile, 5% under WorkerThread::create_draw_target_for_layer, 5% under rendergl::render_scene, 3% under StackingContext::optimize_and_draw_into_context, and there are a ton of threads that are doing these operations and taking up cpu time. cc @mrobinson |
|
Thanks @jdm |
|
This no longer sets the CPU racing but it still doesn't look even close to correct with 12c6184 . It basically looks like a blank page though the sidebar sometimes appears. |
|
This is no longer an issue. The page now loads. |

Initial load kinda seems to work (doesn't look right though) but then resizing the window starts the CPU racing. It's been running for longer than 2 min so far with no progress.
[EDIT] Actually, it's not resizing that queues it. It just happens sometime after page load.