Changes between Version 3 and Version 4 of QtWebKitPerformanceUtilities
- Timestamp:
- Sep 29, 2009, 10:18:46 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QtWebKitPerformanceUtilities
v3 v4 14 14 Running the tools: 15 15 {{{ 16 $ cd mirror/ 16 17 # Help of mirror 17 18 $ ./mirror options [url] … … 34 35 crawl_db.db 35 36 36 # Create a hosts entry for the database 37 # Create a hosts entry for the database. This should be placed in /etc/hosts of the system running the tests. 37 38 $ ./create_hosts 10.23.23.23 38 39 10.23.23.23 www.gmail.com … … 49 50 The http_server application is a simple multi threaded HTTP server. It is looking up the requested URL in the specified database and then sending out the stored http header and content. Executing the ''http_server'' requires root privileges as it attempts to bind to port 80. 50 51 52 {{{ 53 $ cd http_server 54 55 # Starting the server. It attempts to bind to port 80. 56 $ sudo ./http_server ../mirror/crawl_db.db 57 Seving crawl db: '../mirror/crawl_db.db' 58 }}} 59 51 60 ==== The memusgatestat utility ==== 52 61 … … 57 66 The example launcher is provided as a simple testing tool to display one website. The to be displayed site can be requested on the command line. 58 67 68 {{{ 69 $ cd launcher 70 $ ./launcher http://www.webkit.org 71 }}} 72 59 73 ==== A stress testing application ==== 60 74 The stress testing application can be found in the '''robustness/''' directory. The application starts with one website and then picks any of the links on the website and navigates to this link. The goal of this application is to provide crashes, load failures, or creating a bad state inside WebCore. 75 76 {{{ 77 $ cd robustness 78 # Load various websites 79 $ ./robustness 80 ("./robustness") 81 New target "http://www.digg.com" 82 New target "http://digg.com/space/Space_radiation_hits_record_high" 83 ... 84 }}} 61 85 62 86 === Performance tools ===