public
Description: A command line tool that analyzes request logfiles (e.g. Rails, Merb, Apache) to produce a performance report.
Home | Edit | New

Sample output

Below is a sample report that request-log-analyzer can produce for your log files. Some lists have been shortened for your reading pleasure.

Request summary                                                                             
--------------------------------------------------------------------------------------------
Parsed lines:        10449                                                                  
Skipped lines:       365                                                                    
Parsed requests:     5225                                                                   
Skipped requests:    0                                                                      
Warnings:            no_current_request: 365, teaser_check_failed: 1                        
                                                                                            
First request:       2009-08-31 21:11:09                                                    
Last request:        2009-09-06 21:12:09                                                    
Total time analyzed: 7 days                                                                 
                                                                                            
Request distribution per hour                                                               
--------------------------------------------------------------------------------------------
  0:00 |   0 hits/day |                                                                     
  1:00 |   0 hits/day |                                                                     
  2:00 |   0 hits/day |                                                                     
  3:00 |   0 hits/day |                                                                     
  4:00 |   1 hits/day |                                                                     
  5:00 |   0 hits/day |                                                                     
  6:00 |   0 hits/day |                                                                     
  7:00 |   0 hits/day |                                                                     
  8:00 |  25 hits/day | ░░                                                                  
  9:00 | 188 hits/day | ░░░░░░░░░░░░░░░░                                                    
 10:00 | 180 hits/day | ░░░░░░░░░░░░░░░                                                     
 11:00 | 131 hits/day | ░░░░░░░░░░░                                                         
 12:00 |  87 hits/day | ░░░░░░░                                                             
 13:00 | 126 hits/day | ░░░░░░░░░░                                                          
 14:00 |  91 hits/day | ░░░░░░░░                                                            
 15:00 |  34 hits/day | ░░░                                                                 
 16:00 |   0 hits/day |                                                                     
 17:00 |   5 hits/day |                                                                     
 18:00 |   0 hits/day |                                                                     
 19:00 |   0 hits/day |                                                                     
 20:00 |   0 hits/day |                                                                     
 21:00 |   7 hits/day | ░                                                                   
 22:00 |   0 hits/day |                                                                     
 23:00 |   0 hits/day |                                                                     
                                                                                            
Most requested                                                                              
--------------------------------------------------------------------------------------------
DashboardController#update.html [PUT]                         | 895 hits | 17.1% | ░░░      
DashboardController#show.html [GET]                           | 585 hits | 11.2% | ░░       
DashboardController#move.html [POST]                          | 485 hits |  9.3% | ░        
DashboardController#index.html [GET]                          | 407 hits |  7.8% | ░        
JavascriptController#time_to_session_expire.html [POST]       | 389 hits |  7.4% | ░        
                                                                                            
HTTP methods                                                                                
--------------------------------------------------------------------------------------------
GET    | 2502 hits | 47.9% | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░                              
POST   | 1352 hits | 25.9% | ░░░░░░░░░░░░░░░░░░                                             
PUT    | 1348 hits | 25.8% | ░░░░░░░░░░░░░░░░░░                                             
DELETE |   23 hits |  0.4% |                                                                
                                                                                            
HTTP statuses returned                                                                      
--------------------------------------------------------------------------------------------
200 | 4781 hits | 98.4% | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
302 |   78 hits |  1.6% | ░                                                                 
                                                                                            
Rails action cache hits                                                                     
--------------------------------------------------------------------------------------------
No hit | 5225 hits | 100.0% | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                                                                                            
--------------------------------------------------------------------------------------------
Request duration - by sum                | Hits |    Sum |   Mean | StdDev |    Min |    Max
--------------------------------------------------------------------------------------------
DashboardController#show.html [GET]      |  557 | 17m03s |  1.84s |  3.04s |  0.04s | 38.76s
PrintWizardsController#backup.html [GET] |    7 |  6m26s | 55.18s | 26.64s | 35.85s |  1m54s
DashboardController#index.html [GET]     |  376 |  5m49s |  0.93s |  4.11s |  0.02s | 43.53s
ClientsController#show.html [GET]        |  226 |  5m11s |  1.38s |  3.06s |  0.03s | 40.35s
                                                                                            
--------------------------------------------------------------------------------------------
Request duration - by mean               | Hits |    Sum |   Mean | StdDev |    Min |    Max
--------------------------------------------------------------------------------------------
PrintWizardsController#backup.html [GET] |    7 |  6m26s | 55.18s | 26.64s | 35.85s |  1m54s
JobsController#update.html [PUT]         |    1 | 11.67s | 11.67s |  0.00s | 11.67s | 11.67s
BusinessController#unclaim.html [POST]   |    2 | 20.71s | 10.36s |  1.75s |  9.12s | 11.60s
PrintTemplatesController#edit.html [GET] |   10 |  1m41s | 10.11s |  0.47s |  9.37s | 10.89s
                                                                                            
--------------------------------------------------------------------------------------------
View rendering time - by sum             | Hits |    Sum |   Mean | StdDev |    Min |    Max
--------------------------------------------------------------------------------------------
PrintWizardsController#backup.html [GET] |    7 |  4m13s | 36.17s |  9.42s | 22.64s | 52.79s
PrintWizardsController#new.html [GET]    |   18 |  2m58s |  9.89s |  0.96s |  7.92s | 12.07s
PrintWizardsController#create.html [POST]|   22 |  2m10s |  5.91s |  7.10s |  0.02s | 27.48s
                                                                                            
--------------------------------------------------------------------------------------------
View rendering time - by mean            | Hits |    Sum |   Mean | StdDev |    Min |    Max
--------------------------------------------------------------------------------------------
PrintWizardsController#backup.html [GET] |    7 |  4m13s | 36.17s |  9.42s | 22.64s | 52.79s
PrintWizardsController#new.html [GET]    |   18 |  2m58s |  9.89s |  0.96s |  7.92s | 12.07s
PrintWizardsController#create.html [POST]|   22 |  2m10s |  5.91s |  7.10s |  0.02s | 27.48s
                                                                                            
--------------------------------------------------------------------------------------------
Database time - by sum                   | Hits |    Sum |   Mean | StdDev |    Min |    Max
--------------------------------------------------------------------------------------------
UsersController#create.html [POST]       |    2 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
MembershipsController#create.html [POST] |    2 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
JobsController#new.html [GET]            |    3 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
PrintWizardsController#new.html [GET]    |   18 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
                                                                                            
--------------------------------------------------------------------------------------------
Database time - by mean                  | Hits |    Sum |   Mean | StdDev |    Min |    Max
--------------------------------------------------------------------------------------------
UsersController#create.html [POST]       |    2 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
MembershipsController#create.html [POST] |    2 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
JobsController#new.html [GET]            |    3 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
PrintWizardsController#new.html [GET]    |   18 |  0.00s |  0.00s |  0.00s |  0.00s |  0.00s
                                                                                            
Process blockers (> 1 sec duration)                                                         
--------------------------------------------------------------------------------------------
DashboardController#show.html [GET]      | 276 hits | 46.8% | ░░░░░░░░░░░░░░░               
ClientsController#show.html [GET]        |  68 hits | 11.5% | ░░░░                          
DashboardController#move.html [POST]     |  54 hits |  9.2% | ░░░                           
BankController#show.html [GET]           |  46 hits |  7.8% | ░░                            
                                                                                            
Failed requests                                                                             
--------------------------------------------------------------------------------------------
None found.                                                                                 
                                                                                            
Need an expert to analyze your application?                                                 
Mail to contact@railsdoctors.com or visit us at http://railsdoctors.com.                    
--------------------------------------------------------------------------------------------
Thanks for using request-log-analyzer!                                                      
Last edited by barttenbrinke, Fri Nov 06 13:17:09 -0800 2009
Home | Edit | New
Versions: