Giter VIP home page Giter VIP logo

Comments (11)

armanhb avatar armanhb commented on July 1, 2024

Interesting, do the 2 files at the top of the waterfall actually belong to the request?

from mobster.

RiteshMaheshwari avatar RiteshMaheshwari commented on July 1, 2024

Yes.

from mobster.

RiteshMaheshwari avatar RiteshMaheshwari commented on July 1, 2024

Those 2 calls are usually at the very end on this page.

from mobster.

RiteshMaheshwari avatar RiteshMaheshwari commented on July 1, 2024

Potentially an issue with chromium: http://code.google.com/p/chromium/issues/detail?id=141971

from mobster.

RiteshMaheshwari avatar RiteshMaheshwari commented on July 1, 2024

One of the potential issues could be related to how much time is mobster waiting after onLoad before starting the next iterations. If we don't wait long enough, the javascript calls after onLoad might pollute the timings in the next iteration.

from mobster.

armanhb avatar armanhb commented on July 1, 2024

I agree. It would be great if we could simply kill all javascript activity
after determining that the page has "loaded" but after skimming the webkit
protocol it doesn't look like there is a way to do it.

On Tue, Apr 9, 2013 at 4:46 PM, RiteshMaheshwari
[email protected]:

One of the potential issues could be related to how much time is mobster
waiting after onLoad before starting the next iterations. If we don't wait
long enough, the javascript calls after onLoad might pollute the timings in
the next iteration.


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-16147456
.

from mobster.

armanhb avatar armanhb commented on July 1, 2024

Never mind, that wouldn't work either...

On Tue, Apr 9, 2013 at 10:13 PM, Arman Boehm [email protected] wrote:

I agree. It would be great if we could simply kill all javascript activity
after determining that the page has "loaded" but after skimming the webkit
protocol it doesn't look like there is a way to do it.

On Tue, Apr 9, 2013 at 4:46 PM, RiteshMaheshwari <[email protected]

wrote:

One of the potential issues could be related to how much time is mobster
waiting after onLoad before starting the next iterations. If we don't wait
long enough, the javascript calls after onLoad might pollute the timings in
the next iteration.


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-16147456
.

from mobster.

RiteshMaheshwari avatar RiteshMaheshwari commented on July 1, 2024

I guess my question is (I haven't looked at the code), do we wait X seconds after onLoad before starting the next iteration? If so, lets make it 2X or 3X and see if that fixes it.

from mobster.

hariramachandra avatar hariramachandra commented on July 1, 2024

Ritesh, Arman

 If it helps we can get on a conf call to discuss the issue. ( might be faster )

thanks
Hari


From: RiteshMaheshwari [email protected]
To: linkedin/mobster [email protected]
Sent: Wednesday, April 10, 2013 6:09 AM
Subject: Re: [mobster] onLoad times are incorrect sometimes (#28)

I guess my question is (I haven't looked at the code), do we wait X seconds after onLoad before starting the next iteration? If so, lets make it 2X or 3X and see if that fixes it.

Reply to this email directly or view it on GitHub.

from mobster.

anantrao avatar anantrao commented on July 1, 2024

Hey Arman,

There are 2 events of the browser which can be leveraged

  1. onBeforeUnload
  2. unLoad.

We should do all the parsing/processing after the onBeforeUnload event , do a check at unload event

$(window).onBeforeunload(function() {
//do all the processing
});

$(window).unload(function() {
//kill all JS activity and ensure the previous step is done.
});

In summary for waterfall processing , we should do it after the onBeforeUnload have fired, else they wont line up and
will ensure sanity.

we can have a call to discuss in detail

from mobster.

armanhb avatar armanhb commented on July 1, 2024

Sounds good I'll send you guys an email to set up the call.

On Wed, Apr 10, 2013 at 3:04 PM, anantrao [email protected] wrote:

Hey Arman,

There are 2 events of the browser which can be leveraged

  1. onBeforeUnload
  2. unLoad.

We should do all the parsing/processing after the onBeforeUnload event ,
do a check at unload event

$(window).onBeforeunload(function() {
//do all the processing
});

$(window).unload(function() {
//kill all JS activity and ensure the previous step is done.
});

In summary for waterfall processing , we should do it after the
onBeforeUnload have fired, else they wont line up and
will ensure sanity.

we can have a call to discuss in detail


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-16205374
.

from mobster.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.