How to get the time when the first screen is finish?

2 views
Skip to first unread message

Chuanwen Wu

unread,
Nov 15, 2009, 9:27:33 PM11/15/09
to fir...@googlegroups.com
Hi all,

I want to do some analysis work about the first screen.
First screen(or first page), I not sure whether this name is
appropriate, is the screen we see when we open a webpage without
scrolling down. I mean a webpage maybe have many content and be
composed of more than one screen, and we need to scroll down to read
the content in the other screen(except the first screen).

I think from the perspective of the user experience, the performance
of first screen is more important than the rest. So I want analysis
about the performance of the first screen.

To analyse the first screen, I need to get all the components which
are received (maybe and render) before the first screen is showed to
the user.
Now, my problem is how to judge when the rendering of the first screen
is completely?
Maybe this would need to listen to the paint even. So, the problem
maybe is how to listen to the paint even and detect what happen?

Any help will be very appreciated!

--
wcw

Chuanwen Wu

unread,
Nov 16, 2009, 2:45:55 AM11/16/09
to fir...@googlegroups.com
The solution would be better if it can support both Firefox-3.0.x and above.


--
wcw

Honza (Jan Odvarko)

unread,
Nov 16, 2009, 4:06:57 AM11/16/09
to Firebug
You can try Firebug Paint Events 0.1.6, that displays details of
MozAfterPaint events
(you need Firefox 3.1b1 min)

https://addons.mozilla.org/cs/firefox/addon/9620

Honza


On Nov 16, 8:45 am, Chuanwen Wu <wcw8...@gmail.com> wrote:

Chuanwen Wu

unread,
Nov 16, 2009, 11:01:40 AM11/16/09
to fir...@googlegroups.com, odv...@gmail.com
Hi,
Thanks!

As I know Firefox-3.1 and the above have a feature "worker threads",
which can download the JS file in parallel. But now many other browser
still can't do this. I want to create a plugin to give some webpage
optimized advice, which I hope can be use in most browser.
So, is there any way to disable the feature that download JS file in
parallel in Firefox-3.1x and above?


--
wcw

Chuanwen Wu

unread,
Nov 16, 2009, 11:05:46 AM11/16/09
to fir...@googlegroups.com, odv...@gmail.com
Hi,
Thanks!

As I know Firefox-3.1 and the above have a feature "worker threads",
which can download the JS file in parallel. But now many other browser
still can't do this. I want to create a plugin to give some webpage‘s
optimized advice, which I hope can be applicable to most browser, but
not just Firefox-3.1x and above.

John J Barton

unread,
Nov 16, 2009, 9:49:52 PM11/16/09
to Firebug
You will have to ask Firefox about that.

jjb

Chuanwen Wu

unread,
Nov 17, 2009, 4:30:50 AM11/17/09
to fir...@googlegroups.com
On Mon, Nov 16, 2009 at 5:06 PM, Honza (Jan Odvarko) <odv...@gmail.com> wrote:
> You can try Firebug Paint Events 0.1.6, that displays details of
> MozAfterPaint events
> (you need Firefox 3.1b1 min)
>
> https://addons.mozilla.org/cs/firefox/addon/9620
>
Because MozAfterPaint don't support Firefox-3.0.x, so except
MozAfterPaint, is there any other way that can be use in firefox-3.0.x
to listen to the paint events?


--
wcw

Honza (Jan Odvarko)

unread,
Nov 17, 2009, 6:47:19 AM11/17/09
to Firebug
> Because MozAfterPaint don't support Firefox-3.0.x, so except
> MozAfterPaint, is there any other way that can be use in firefox-3.0.x
> to listen to the paint events?
I don't know about any workaround for this.
Try: http://groups.google.com/group/mozilla.dev.extensions/topics?hl=en&lnk=rgh

Honza

Chuanwen Wu

unread,
Nov 17, 2009, 10:34:19 AM11/17/09
to fir...@googlegroups.com
Thanks! I will try to get some help there.

--
wcw
Reply all
Reply to author
Forward
0 new messages