Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #11751
| From | Paul <nospam@needed.invalid> |
|---|---|
| Newsgroups | alt.computer |
| Subject | Re: Waterfall presentation of a HTML file |
| Date | 2020-06-27 23:38 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <rd93at$3kr$1@dont-email.me> (permalink) |
| References | <4XQJG.52807$AN2.50728@fx46.iad> <5nSJG.52053$0W4.50413@fx42.iad> |
Robert Baer wrote:
> Robert Baer wrote:
>> Once upon a time, a long time ago (maybe 2 weeks) i stumbled into a
>> program that did a waterfall presentation of a HTML file, instead of
>> rendering the file "normally" as a web page.
>>
>> It would nominally take 3 passes and stop with presentation at the
>> end of a pass.
>>
>> Do not remember where it was,and i may have been one of those
>> online programs.
>>
>> Above was a curiosity item; rater educational and useful.
>> Now,when i really need it, i cannot find it either as downloadable
>> program or otherwise (naturally, would have been available if i did
>> NOT want it).
>>
>> Anyway, i did find with search "waterfall browser", Search Results:
>> ** QUOTE**
>> Waterfall - Firefox Developer Tools | MDN
>>
>> Waterfall
>> Firefox Developer Tools>Performance>Waterfall
>> The Waterfall gives you insight into the sorts of things the
>> browser is doing as it runs your site or app. It's based on the idea
>> that the things a browser does when running a site can be divided into
>> various types - running JavaScript, updating layout, and so on - and
>> that at any given point in time, the browser is doing one of those
>> things.
>> ** END QUOTE**
>>
>> Yup! that would do...
>> ....BUT
>> All they do is yap about it and give NO CLUE where/how to get it.
>>
>> Help?
> OK;fiddling around, clicking on various parts of that line "Firefox
> Developer Tools>Performance>Waterfall" i got to the performance section.
>
> Even saw the clock icon and messed with that.
> Since i could not figure out how to "run" an HTML program exactly when
> the profile timing started, this was a DOA situation.
> Could not figure out how to get any HTML program attached to this
> otherwise useless process, or how to tell the profile "time the following".
>
> Well, in noodling around, i DID find out something very useful.
> Loaded https://oil4lessllc.com/industry-related-links.html and then
> used Tools, selected Web Devlopment > Toggle Tools, let it settle down.
> Then selected Console and saw three error messages.
> So,i have name of js code..mumble.js:474:2.
> Taking a baer grrreat leap of faith, i presume that means line 474.
>
> **COPY**
>
> var parseEmbedded = function (el, s) {
> return;
> // This function doesn't work because of a bug in IE, where
> innerHTML gives us parsed css instead of raw literal.
> el.cssHelperText = sanitize(s || el.innerHTML);
> return parseText(el);
> };
>
> **END COPY**
>
> Line 474 is the one starting " el." and ends with a semicolon.
> So where is the beef?
>
> Thanks.
>
OK, being a hobbyist, what happens if you place the // comment
thingy, in front of those two lines, like this.
var parseEmbedded = function (el, s) {
return;
// This function doesn't work because of a bug in IE, where innerHTML gives us parsed css instead of raw literal.
// el.cssHelperText = sanitize(s || el.innerHTML);
// return parseText(el);
};
Since the "return;" is the first line, the control flow is
immediately stopped at that point. The lines after it are
rendered "moot". If you comment them out, it looks
marginally cleaner.
And the file is "css3-mediaqueries.js" , as that's where
a content search of your downloaded page shows it as existing.
Paul
Back to alt.computer | Previous | Next — Previous in thread | Find similar | Unroll thread
Waterfall presentation of a HTML file Robert Baer <robertbaer@localnet.com> - 2020-06-27 16:50 -0700
Re: Waterfall presentation of a HTML file Robert Baer <robertbaer@localnet.com> - 2020-06-27 18:28 -0700
Re: Waterfall presentation of a HTML file Paul <nospam@needed.invalid> - 2020-06-27 23:38 -0400
csiph-web