httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] invoke_handler speedup
Date Sun, 25 Jan 1998 00:46:06 GMT
For comparison, here's the results I'm getting for a few URLs. 

/  		causes two invoke_handler() calls due to DirectoryIndex
/index.html
/apache_pb.gif
/foo.shtml  	a small ssi file
/6k		6k file, DefaulTyped to text/html

The "errors" reported for foo.shtml are really zb not understanding
results w/o content-length.

Oh yeah, you'll need a display 135 columns wide to read this.  It was a
quick hack.

The server has all modules compiled into it except mod_example. 

current = current HEAD
dean2 = patch I just posted
dmitry = patch Dmitry posted a couple weeks ago

Dean

current.times                                dean2.times                                 
dmitry.times                                 
url: /                                       url: /                                      
url: /                                       

---                                          ---                                         
---                                          
Server:                 Apache/1.3b4-dev     Server:                 Apache/1.3b4-dev    
Server:                 Apache/1.3b4-dev     
Doucment Length:        1316                 Doucment Length:        1316                
Doucment Length:        1316                 
Concurency Level:       5                    Concurency Level:       5                   
Concurency Level:       5                    
Time taken for tests:   10.003 seconds       Time taken for tests:   10.002 seconds      
Time taken for tests:   10.003 seconds       
Complete requests:      2274                 Complete requests:      2278                
Complete requests:      2297                 
Failed requests:        0                    Failed requests:        0                   
Failed requests:        0                    
Keep-Alive requests:    2254                 Keep-Alive requests:    2258                
Keep-Alive requests:    2277                 
Bytes transfered:       3630683              Bytes transfered:       3637071             
Bytes transfered:       3667414              
HTML transfered:        2992584              HTML transfered:        2997848             
HTML transfered:        3022852              
Requests per seconds:   227.33               Requests per seconds:   227.75              
Requests per seconds:   229.63               
Transfer rate:          362.96 kb/s          Transfer rate:          363.63 kb/s         
Transfer rate:          366.63 kb/s          

Connnection Times (ms)                       Connnection Times (ms)                      
Connnection Times (ms)                       
           min   avg   max                              min   avg   max                  
           min   avg   max                   
Connect:     0     0    14                   Connect:     0     0    29                  
Connect:     0     0    28                   
Total:       4    21   147                   Total:       3    21   125                  
Total:       3    21   151                   
---                                          ---                                         
---                                          

url: /index.html                             url: /index.html                            
url: /index.html                             

---                                          ---                                         
---                                          
Server:                 Apache/1.3b4-dev     Server:                 Apache/1.3b4-dev    
Server:                 Apache/1.3b4-dev     
Doucment Length:        1316                 Doucment Length:        1316                
Doucment Length:        1316                 
Concurency Level:       5                    Concurency Level:       5                   
Concurency Level:       5                    
Time taken for tests:   10.001 seconds       Time taken for tests:   10.013 seconds      
Time taken for tests:   10.001 seconds       
Complete requests:      3067                 Complete requests:      3121                
Complete requests:      3074                 
Failed requests:        0                    Failed requests:        0                   
Failed requests:        0                    
Keep-Alive requests:    3039                 Keep-Alive requests:    3093                
Keep-Alive requests:    3046                 
Bytes transfered:       4896737              Bytes transfered:       4982974             
Bytes transfered:       4907916              
HTML transfered:        4036172              HTML transfered:        4107236             
HTML transfered:        4045384              
Requests per seconds:   306.67               Requests per seconds:   311.69              
Requests per seconds:   307.37               
Transfer rate:          489.62 kb/s          Transfer rate:          497.65 kb/s         
Transfer rate:          490.74 kb/s          

Connnection Times (ms)                       Connnection Times (ms)                      
Connnection Times (ms)                       
           min   avg   max                              min   avg   max                  
           min   avg   max                   
Connect:     0     0     7                   Connect:     0     0    14                  
Connect:     0     0    14                   
Total:       2    15   171                   Total:       2    15   141                  
Total:       3    15   113                   
---                                          ---                                         
---                                          

url: /apache_pb.gif                          url: /apache_pb.gif                         
url: /apache_pb.gif                          

---                                          ---                                         
---                                          
Server:                 Apache/1.3b4-dev     Server:                 Apache/1.3b4-dev    
Server:                 Apache/1.3b4-dev     
Doucment Length:        2326                 Doucment Length:        2326                
Doucment Length:        2326                 
Concurency Level:       5                    Concurency Level:       5                   
Concurency Level:       5                    
Time taken for tests:   10.001 seconds       Time taken for tests:   10.001 seconds      
Time taken for tests:   10.004 seconds       
Complete requests:      2978                 Complete requests:      2999                
Complete requests:      2993                 
Failed requests:        0                    Failed requests:        0                   
Failed requests:        0                    
Keep-Alive requests:    2951                 Keep-Alive requests:    2972                
Keep-Alive requests:    2967                 
Bytes transfered:       7762427              Bytes transfered:       7817181             
Bytes transfered:       7801581              
HTML transfered:        6926828              HTML transfered:        6975674             
HTML transfered:        6961718              
Requests per seconds:   297.77               Requests per seconds:   299.87              
Requests per seconds:   299.18               
Transfer rate:          776.17 kb/s          Transfer rate:          781.64 kb/s         
Transfer rate:          779.85 kb/s          

Connnection Times (ms)                       Connnection Times (ms)                      
Connnection Times (ms)                       
           min   avg   max                              min   avg   max                  
           min   avg   max                   
Connect:     0     0    14                   Connect:     0     0    15                  
Connect:     0     0    14                   
Total:       3    16   116                   Total:       3    16   149                  
Total:       3    16   128                   
---                                          ---                                         
---                                          

url: /foo.shtml                              url: /foo.shtml                             
url: /foo.shtml                              

---                                          ---                                         
---                                          
Server:                 Apache/1.3b4-dev     Server:                 Apache/1.3b4-dev    
Server:                 Apache/1.3b4-dev     
Doucment Length:        888                  Doucment Length:        888                 
Doucment Length:        888                  
Concurency Level:       5                    Concurency Level:       5                   
Concurency Level:       5                    
Time taken for tests:   10.003 seconds       Time taken for tests:   10.012 seconds      
Time taken for tests:   10.001 seconds       
Complete requests:      1262                 Complete requests:      1262                
Complete requests:      1258                 
Failed requests:        0                    Failed requests:        1016                
Failed requests:        0                    
Keep-Alive requests:    0                       (Connect: 0, Length: 1016, Exceptions: 0)
Keep-Alive requests:    0                    
Bytes transfered:       1279668              Keep-Alive requests:    0                   
Bytes transfered:       1280682              
HTML transfered:        1120656              Bytes transfered:       1279665             
HTML transfered:        1121544              
Requests per seconds:   126.16               HTML transfered:        1120527             
Requests per seconds:   125.79               
Transfer rate:          127.93 kb/s          Requests per seconds:   126.05              
Transfer rate:          128.06 kb/s          
                                             Transfer rate:          127.81 kb/s         

Connnection Times (ms)                                                                   
Connnection Times (ms)                       
           min   avg   max                   Connnection Times (ms)                      
           min   avg   max                   
Connect:     0    11    24                              min   avg   max                  
Connect:     0     6    24                   
Total:       8    37   264                   Connect:     0     9    29                  
Total:       7    37   131                   
---                                          Total:       8    37   162                  
---                                          
                                             ---                                         

url: /6k                                                                                 
url: /6k                                     
                                             url: /6k                                    

---                                                                                      
---                                          
Server:                 Apache/1.3b4-dev     ---                                         
Server:                 Apache/1.3b4-dev     
Doucment Length:        6144                 Server:                 Apache/1.3b4-dev    
Doucment Length:        6144                 
Concurency Level:       5                    Doucment Length:        6144                
Concurency Level:       5                    
Time taken for tests:   10.006 seconds       Concurency Level:       5                   
Time taken for tests:   10.009 seconds       
Complete requests:      2046                 Time taken for tests:   10.011 seconds      
Complete requests:      2026                 
Failed requests:        0                    Complete requests:      2059                
Failed requests:        0                    
Keep-Alive requests:    2028                 Failed requests:        0                   
Keep-Alive requests:    2008                 
Bytes transfered:       13152933             Keep-Alive requests:    2041                
Bytes transfered:       13020297             
HTML transfered:        12574437             Bytes transfered:       13252863            
HTML transfered:        12447744             
Requests per seconds:   204.48               HTML transfered:        12669562            
Requests per seconds:   202.42               
Transfer rate:          1314.50 kb/s         Requests per seconds:   205.67              
Transfer rate:          1300.86 kb/s         
                                             Transfer rate:          1323.83 kb/s        

Connnection Times (ms)                                                                   
Connnection Times (ms)                       
           min   avg   max                   Connnection Times (ms)                      
           min   avg   max                   
Connect:     0     0    18                              min   avg   max                  
Connect:     0     0    19                   
Total:       4    23   274                   Connect:     0     0    19                  
Total:       4    24   123                   
---                                          Total:       4    23   118                  
---                                          
                                             ---                                         




Mime
View raw message