On Mar 8, 12:09 pm, Michele <[email protected]> wrote: > I've made some headway on this. I'm now calculating the page load > times and requests manually...or at least trying to. The download and > cache sizes are all I can't seem to figure out how to do manually. The > problem now is that my ActiveModule doesn't seem to be calling the > initialize method...What am I doing wrong?http://pastebin.com/t01PHHDb > (also, should this be a new discussion?)
Do you mean "Firebug.SiteTesterModule.initialize()" is not called? This method is called by Firebug during startup. If it is not called then the most likely problem is a compile time error in the file that prevents the register call. Check Firefox > Tools > Error Console jjb > > Michele > > On Mar 7, 2:14 pm, Michele <[email protected]> wrote: > > > > As soon as you understand the code (with my help) it would be great > > > if you can write some on getfirebug.com/wiki (again I can help) > > > That would be great! There's a lot to learn diving in for the first > > time, and I always like sharing what I've learned. And I'm learning a > > lot. > > > > > Should I just be accessing a context then? Is there any documentation > > > > on working with those? Or do I have to manually compute the amount of > > > > requests and download/cache sizes? > > > > I don't actually understand what you want to do here. All responses at > > > once? > > > It just looks like the netlistener is just for individual requests > > made on the page, not for overall page load information. I was > > wondering if I should be using netlistener at all. It's starting to > > look like I don't need anything from it, as most of the information > > I'm looking for can be gathered using other methods. > > > In NetExporter, you manually calculate the load times, rather than > > getting those from something provided. I also haven't seen any code > > examples for getting, say, the download size of the page. I'm just > > looking for the information in the last line of the Net panel, and > > it's apparently much harder to do than I originally thought. > > > Michele > > > > > > > NetExporter won't work for me, as I'm running automated tests that > > > > > > (hopefully will) export this information into a db via a file on my > > > > > > localhost; having hundreds of .har files created doesn't seem the > > > > > > right way to go in this case, and I'd like to keep the amount of > > > > > > information that needs to be processed to a minimum. > > > > > > > I have lots of questions...there really hasn't been any > > > > > > documentation > > > > > > on doing something like this. > > > > > > > Thanks, > > > > > > Michele > > > > > > > On Mar 6, 2:43 am, "Honza (Jan Odvarko)" <[email protected]> wrote: > > > > > > > > On Mar 5, 5:54 pm, Michele <[email protected]> wrote:> I'm > > > > > > > creating a small extension to help with some site optimization I'm > > > > > > > > doing at work. I've got the basics of NetListeners > > > > > > > > fromhttp://www.softwareishard.com/blog/firebug-tutorial/extending-firebug... > > > > > > > > but I need some slightly different functionality, and so far I > > > > > > > > haven't > > > > > > > > found any documentation. I just need to get a few pieces of > > > > > > > > information from netlistener, mainly the overall number of > > > > > > > > requests, > > > > > > > > load time, onload time, download size and cache size, and then > > > > > > > > post it > > > > > > > > using json to a file on my localhost. > > > > > > > > You can take a look at NetExport extension that is exporting data > > > > > > > collected by the Net > > > > > > > panel.http://code.google.com/p/fbug/source/browse/#svn%2Fnetexport%2Fbranch... > > > > > > > (see harBuilder.js) > > > > > > > > Btw. this extension could already do what you want (also automated > > > > > > > export) > > > > > > > Or perhaps we could enhance it with new features? > > > > > > > > > I haven't been able to find any documentation on just getting > > > > > > > > some > > > > > > > > parts of the stream from netlistener. > > > > > > > > by the stream, do you mean the response body? > > > > > > > > Honza > > > > > > > > > I know how to create a json > > > > > > > > request, and post it, but I can't figure out how to get those 5 > > > > > > > > things > > > > > > > > into the request. Can someone point me to some documentation on > > > > > > > > this, > > > > > > > > or give me some examples? Or does anyone have suggestions on > > > > > > > > creating > > > > > > > > this? -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
