New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when tried to get the page load time #13
Comments
It looks like the overall page timings in your HAR file are empty for some reason:
I will look into a fallback for you, and see if I can get any info on how to make a HAR file with the pageTimings entries. |
Hello @pr4bh4sh, it looks like bmp is not capable of adding full page load timings (which makes sense). https://groups.google.com/forum/#!topic/browsermob-proxy/iiU2GMr0m2s I am working on a fallback that would add up the total load time of all elements, and am taking a look into the |
So @pr4bh4sh I have a commit that solves the However, the total page load time is a bit more complicated. As explained in the article I posted, bmp has no concept of an actual "page load" because it does not take things like JS execution into account. Do you think that trying to access the full page load time should issue a warning when the page load timings are not available and return |
Sorry for delay in response,
|
Cool, will work up another PR to address the remainder of the issue, thanks. |
So sorry for the delay @pr4bh4sh, I have been trying to think of the best way to handle it. What do you think about something like:
I know it looks a little bit clunkier than a boolean passed to the parser, but I feel like it makes it more obvious that you are dealing with 2 very different statistics, and allows you to always try for the most correct one first (full page load time including JS rendering). Does that work for you? |
That's ok with me. |
Source code
error
pip list
If I try to get any other load time it prints "0.0"
Har gist
If i paste the content of har file at http://www.softwareishard.com/har/viewer/ It shows the load time is it possible to do the same with this library.
The text was updated successfully, but these errors were encountered: