About:Snappy

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
_Alexander
Posts: 1197
Joined: April 1st, 2010, 2:24 pm
Location: Your augmented reality

Re: About:Snappy

Post by _Alexander »

Oh and here is me doing two things on my netbook (very good DX10 GPU!!!),
a. Scrolling up and down Neowin.net - adblock plus enabled
b. Switching between YouTube tab and about:jank tab

Code: Select all

records samples that occured in during periods when we did not service the event loop for more than > 100 ms.
NOTE: about:jank doesn't interact well with the Gecko Profiler Addon
about:jank results (2632 samples)

1751 - c-gfx::DrawThebesLayer
173 - c-Paint::PresShell::Paint
143 - c-JS::CallEventHandler
113 - c-layout::DoReflow
83 - c-image::imgFrame::Draw
83 - c-event::nsViewManager::DispatchEvent
76 - c-layout::FlushPendingNotifications
75 - c-nsEventListenerManager::HandleEventInternal
60 - c-JS::EvaluateString
40 - c-html5::RunFlushLoop
20 - c-CSS::ProcessRestyles
5 - c-GC::CycleCollectNow
3 - c-Input::nsInputStreamPump::OnStateTransfer
2 - c-nsInputStreamPump::OnStateStart
2 - c-JS::EvaluateStringWithValue
1 - c-Timer::Fire
1 - c-network::nsHttpChannel::OnDataAvailable
1 - c-Input::DispatchMouseEvent


Should I report this to Bug 721273?!

EDIT no D2D, same test,

Code: Select all

records samples that occured in during periods when we did not service the event loop for more than > 100 ms.
NOTE: about:jank doesn't interact well with the Gecko Profiler Addon
about:jank results (1689 samples)

630 - c-gfx::DrawThebesLayer
370 - c-Paint::PresShell::Paint
136 - c-layout::DoReflow
100 - c-image::imgFrame::Draw
87 - c-JS::EvaluateString
83 - c-event::nsViewManager::DispatchEvent
69 - c-nsEventListenerManager::HandleEventInternal
68 - c-html5::RunFlushLoop
65 - c-layout::FlushPendingNotifications
62 - c-JS::CallEventHandler
13 - c-CSS::ProcessRestyles
2 - c-Input::nsInputStreamPump::OnStateTransfer
2 - c-network::nsHttpChannel::OnDataAvailable
1 - c-network::nsHttpChannel::OnStopRequest
1 - c-layout::nsLayoutUtils::DrawBackgroundImage



EDIT: Quicker Test with prefer D3D9

Code: Select all

704 - c-gfx::DrawThebesLayer
348 - c-Paint::PresShell::Paint
130 - c-layout::DoReflow
120 - c-image::imgFrame::Draw
82 - c-layout::FlushPendingNotifications
68 - c-CSS::ProcessRestyles
67 - c-nsEventListenerManager::HandleEventInternal
58 - c-event::nsViewManager::DispatchEvent
56 - c-JS::CallEventHandler
48 - c-JS::EvaluateString
27 - c-html5::RunFlushLoop
3 - c-network::nsHttpChannel::OnStopRequest
3 - c-Input::DispatchMouseEvent
2 - c-layout::nsLayoutUtils::DrawBackgroundImage
2 - c-Timer::Fire
1 - c-network::nsStreamLoader::OnStopRequest
1 - c-PluginModuleParent::NPP_NewStream
1 - c-network::nsHttpChannel::OnDataAvailable
1 - c-JS::EvaluateStringWithValue
http://magneticpudding.com/ <- My Blog
i5 3570k @ 4.5 Ghz / NV 660 / 32GB DDR3 / 1080p LCD / SSD (120 + 180) / W8 ||| Atom N270 / NV ION / 3GB DDR3 / SSD / 1366x768 / W8
dbcooper.dk
Posts: 895
Joined: March 14th, 2010, 3:44 am

Re: About:Snappy

Post by dbcooper.dk »

Sounds like something to report - especially with the about:jank data.
User avatar
Zlip792
Posts: 1340
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Re: About:Snappy

Post by Zlip792 »

Never mind, I was late..
Last edited by Zlip792 on January 27th, 2012, 3:30 am, edited 1 time in total.
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: About:Snappy

Post by Omega X »

You're late Zlip, see the previous page.
User avatar
pxbugz
Posts: 55
Joined: October 17th, 2006, 8:25 pm

Re: About:Snappy

Post by pxbugz »

about:jank now on AMO https://addons.mozilla.org/en-US/firefox/addon/aboutjank/

I see people are using it already but I didn't see the new version mentioned.
speciesx
Posts: 307
Joined: March 24th, 2011, 10:38 am

Re: About:Snappy

Post by speciesx »

youtube only

records samples that occured in during periods when we did not service the event loop for more than > 100 ms.
NOTE: about:jank doesn't interact well with the Gecko Profiler Addon
about:jank results (5490 samples)

1945 - c-html5::RunFlushLoop
1896 - c-gfx::DrawThebesLayer
391 - c-plugin::DoStopPlugin
299 - c-nsEventListenerManager::HandleEventInternal
245 - c-CSS::ProcessRestyles
175 - c-JS::EvaluateString
98 - c-JS::CallEventHandler
92 - c-layout::FlushPendingNotifications
92 - c-layout::DoReflow
58 - c-image::imgFrame::Draw
57 - c-Paint::PresShell::Paint
51 - c-JS::EvaluateStringWithValue
36 - c-GC::GarbageCollectNow
17 - c-nsObjectFrame::InstantiatePlugin
10 - c-event::nsViewManager::DispatchEvent
8 - c-network::nsHttpChannel::OnStopRequest
7 - c-Input::nsInputStreamPump::OnStateTransfer
5 - c-GC::CycleCollectNow
3 - c-Timer::Fire
3 - c-Input::DispatchMouseEvent
1 - c-nsInputStreamPump::OnStateStart
1 - c-storage::Connection::initialize
sry for my bad english.

My real user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv: current nightly) Gecko/20100101 Firefox/current nightly
User avatar
-Px-
Posts: 480
Joined: April 20th, 2011, 1:56 am

Re: About:Snappy

Post by -Px- »

Not only d2d affected, similar picture under Windows XP and D3D9

Code: Select all

about:jank results (24079 samples)

5198 - c-GC::GarbageCollectNow
4251 - c-gfx::DrawThebesLayer
3022 - c-Paint::PresShell::Paint
2561 - c-GC::CycleCollectNow
1483 - c-image::imgFrame::Draw
1380 - c-Timer::Fire
1005 - c-layout::DoReflow
902 - c-JS::CallEventHandler
820 - c-JS::EvaluateString
715 - c-layout::FlushPendingNotifications
608 - c-event::nsViewManager::DispatchEvent
537 - c-html5::RunFlushLoop
376 - c-CSS::ProcessRestyles
281 - c-storage::Statement::ExecuteStep
280 - c-nsInputStreamPump::OnStateStart
236 - c-JS::EvaluateStringWithValue
131 - c-nsObjectFrame::InstantiatePlugin
76 - c-plugin::DoStopPlugin
64 - c-content::nsXMLHttpRequest::OnStopRequest
53 - c-Input::DispatchMouseEvent
43 - c-network::nsHttpChannel::OnDataAvailable
38 - c-network::nsHttpChannel::OnStopRequest
8 - c-layout::nsLayoutUtils::DrawBackgroundImage
6 - c-storage::Connection::initialize
5 - c-plugin::nsObjectFrame::Instantiate
User avatar
Dingler
Posts: 1245
Joined: November 14th, 2011, 4:41 am

Re: About:Snappy

Post by Dingler »

Does somebody have a link to explain about:jank and its interest in improving responsiveness?
User avatar
Optimizer HD
Posts: 264
Joined: April 12th, 2011, 11:48 am

Re: About:Snappy

Post by Optimizer HD »

Decode ::Draw()'n images before other images just landed today.
Great for switching tabs with large number of images :) . Snappy is showing its true colors :P
iwod
Posts: 1033
Joined: July 18th, 2003, 10:09 pm

Re: About:Snappy

Post by iwod »

pxbugz wrote:about:jank now on AMO https://addons.mozilla.org/en-US/firefox/addon/aboutjank/

I see people are using it already but I didn't see the new version mentioned.


Great! I am pretty sure the previous version i have installed was 0.1. The AMO one is 0.4!
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: About:Snappy

Post by Omega X »

gfx::DrawThebesLayer is the Gecko Layers API. All of the interfaces ties into it. Its probably something to do with Cairo. Maybe a test with Azure-Thebes on is worth a look.

Also, MSVC2010 is a go!

JP Rosevear wrote:The results are in:

"Our data says half of one percent of our Windows users are on these
older systems and that a disproportionate number of them are on Firefox
3.6."

With so many on 3.6, a lot aren't interested in upgrading anyhow. Asa's
take is that we are ok to be forward looking on the release train. This
seems good since we'll get performance improvements for 99.5% of our
Windows users.

With that in mind, I suggest we turn on VS2010 post Tuesday (next
uplift).

We should get a bug going to notify users affected that support will be
ending.

Thanks,

-JP
-- JP Rosevear <jpr@mozilla.com> Mozilla
KWierso
Posts: 8829
Joined: May 7th, 2006, 10:29 pm
Location: California

Re: About:Snappy

Post by KWierso »

Omega X wrote:gfx::DrawThebesLayer is the Gecko Layers API. All of the interfaces ties into it. Its probably something to do with Cairo. Maybe a test with Azure-Thebes on is worth a look.

Also, MSVC2010 is a go!

JP Rosevear wrote:The results are in:

"Our data says half of one percent of our Windows users are on these
older systems and that a disproportionate number of them are on Firefox
3.6."

With so many on 3.6, a lot aren't interested in upgrading anyhow. Asa's
take is that we are ok to be forward looking on the release train. This
seems good since we'll get performance improvements for 99.5% of our
Windows users.

With that in mind, I suggest we turn on VS2010 post Tuesday (next
uplift).

We should get a bug going to notify users affected that support will be
ending.

Thanks,

-JP
-- JP Rosevear <jpr@mozilla.com> Mozilla

Windows 2000 is dead, long live XP!
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: About:Snappy

Post by patrickjdempsey »

:( I guess for the first year we can use the first ESR build.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
Awesome Donkey
Posts: 26
Joined: April 28th, 2011, 7:46 pm

Re: About:Snappy

Post by Awesome Donkey »

Here's TMZ.com loading on Windows 7 x64...

Code: Select all

records samples that occured in during periods when we did not service the event loop for more than > 100 ms.
NOTE: about:jank doesn't interact well with the Gecko Profiler Addon
about:jank results (570 samples)

151 - c-JS::EvaluateString
77 - c-nsEventListenerManager::HandleEventInternal
77 - c-JS::CallEventHandler
60 - c-PluginModuleParent::NPP_NewStream
43 - c-layout::FlushPendingNotifications
32 - c-html5::RunFlushLoop
29 - c-layout::DoReflow
23 - c-GC::GarbageCollectNow
17 - c-network::nsHttpChannel::OnStopRequest
11 - c-Paint::PresShell::Paint
11 - c-gfx::DrawThebesLayer
11 - c-nsHttpChannel::OnStartRequest
6 - c-GC::CycleCollectNow
5 - c-CSS::ProcessRestyles
5 - c-JS::EvaluateStringWithValue
4 - c-network::nsHttpChannel::OnDataAvailable
3 - c-nsPluginStreamListenerPeer::OnStartRequest
2 - c-event::nsViewManager::DispatchEvent
2 - c-Timer::Fire
1 - c-nsXMLHttpRequest::OnStartRequest


Overclock.net:

Code: Select all

65 - c-CSS::ProcessRestyles
46 - c-JS::EvaluateString
37 - c-JS::CallEventHandler
25 - c-layout::FlushPendingNotifications
22 - c-gfx::DrawThebesLayer
20 - c-nsEventListenerManager::HandleEventInternal
10 - c-layout::DoReflow
1 - c-nsHttpChannel::OnStartRequest
1 - c-network::nsHttpChannel::OnStopRequest


Netflix.com (logged in with account, main page there with selections):

Code: Select all

43 - c-JS::EvaluateString
24 - c-nsHttpChannel::OnStartRequest
19 - c-layout::FlushPendingNotifications
16 - c-CSS::ProcessRestyles
15 - c-layout::DoReflow


Should these be reported?
Last edited by Awesome Donkey on January 27th, 2012, 5:09 pm, edited 1 time in total.
User avatar
iceccold
Posts: 661
Joined: February 24th, 2010, 10:53 am
Location: Subotica, Serbia
Contact:

Re: About:Snappy

Post by iceccold »

Omega X wrote:Also, MSVC2010 is a go!

And that means a green light for 64-bit?
Sorry for ot.
"We cannot have homeland security unless we understand that the whole planet is our homeland "
Post Reply