You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/02/21 00:10:41 UTC

[Bug 57614] New: AB csv export not contain 100%

https://bz.apache.org/bugzilla/show_bug.cgi?id=57614

            Bug ID: 57614
           Summary: AB csv export not contain 100%
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: bugzilla@fabrykowski.pl

Apache benchmark exporting csv file without the longest request.
Possible fix of this problem:

diff --git a/support/ab.c b/support/ab.c
index b26f0ac..b12e372 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -1038,7 +1038,7 @@ static void output_results(int sig)
                 exit(1);
             }
             fprintf(out, "" "Percentage served" "," "Time in ms" "\n");
-            for (i = 0; i < 100; i++) {
+            for (i = 0; i <= 100; i++) {
                 double t;
                 if (i == 0)
                     t = ap_double_ms(stats[0].time);

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 57614] AB csv export not contain 100%

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57614

Graham Leggett <mi...@sharp.fm> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Graham Leggett <mi...@sharp.fm> ---
Backported to v2.4.13.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 57614] AB csv export not contain 100%

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57614

--- Comment #2 from Yann Ylavic <yl...@gmail.com> ---
Backport to 2.4.x proposed in r1663094.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 57614] AB csv export not contain 100%

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57614

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ylavic.dev@gmail.com
           Keywords|                            |FixedInTrunk

--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
Thanks for the patch, committed in r1661913.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org