Current time: 11-19-2019, 07:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
webpagetest source
07-24-2012, 01:26 PM
Post: #1
webpagetest source
I've download the webpagetest source code.I've read it for a few days,but still confused.......

There are a lot of things:winpcap, wptdriver, wpthook..........

Where can I find the source code explaination or structure. I'am soooo confused....HuhHuh

Thanks a lot.....Wink
Find all posts by this user
Quote this message in a reply
07-25-2012, 01:20 AM
Post: #2
RE: webpagetest source
The code isn't for the faint of heart and the structure isn't really documented all that well. The project is basically split into 2 trees:

The Web UI - trunk/www/webpagetest (pretty much all php with a little python support for mobile)

The test agents - trunk/agent

The agents are pretty complicated but basically break down as:

IE:
browser/ie/Pagetest.sln - main solution file for visual studio 2008 SP2 that builds everything
browser/ie/urlblast - controller that drives the IE testing
browser/ie/pagetest - browser plugin that does all of the instrumentation for IE

Chrome/Firefox:
webpagetest.sln (at the root of the tree) - main solution file for visual studio 2010 sp1 that builds everything
wptdriver - controller that drives Chrome/Firefox testing (with experimental IE support as well)
wpthook - cross-browser API interception that is code-injected into the browsers and does all of the measurement (equivalent of pagetest)
browser/chrome - chrome extension for some browser-specific functionality
browser/firefox - firefox extension for some browser-specific functionality
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)