Re: [PATCH and RFC] gitweb: Remove --full-history from git_history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jakub Narebski wrote:

> I wonder which version is faster: --full-history, or filter using 
> diff-tree?
> 
> ab -n 10 "http://localhost/cgi-bin/gitweb/gitweb.cgi?p=git.git;a=history;hb=next;f=gitweb/gitweb.perl";
> (ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0) says
> 
>   Requests per second:    0.09 [#/sec] (mean)
>   Time per request:       10918.552 [ms] (mean)
>   Time per request:       10918.552 [ms] (mean, across all concurrent requests)
>   Transfer rate:          2.13 [Kbytes/sec] received
> 
>   Connection Times (ms)
>                 min  mean[+/-sd] median     max
>   Connect:        0    0     0.0      0       0
>   Processing:  8851 10917 2776.1   9284   16420
>   Waiting:      407  457    95.1    428     721
>   Total:       8851 10917 2776.1   9284   16420

Adding "--remove-empty" (would this change output for git_history much?)
changes this to:

  Requests per second:    0.75 [#/sec] (mean)
  Time per request:       1341.702 [ms] (mean)
  Time per request:       1341.702 [ms] (mean, across all concurrent requests)
  Transfer rate:          17.37 [Kbytes/sec] received

  Connection Times (ms)
                min  mean[+/-sd] median   max
  Connect:        0    0   0.0      0       0
  Processing:  1208 1340 206.6   1241    1729
  Waiting:      386  408  36.6    403     510
  Total:       1208 1340 206.6   1241    1729

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]