Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68381 - [bonnie++] bon_csv2html doesn't convert units properly

Attached to Project: Community Packages
Opened by Marko Doda (markododa) - Thursday, 22 October 2020, 11:49 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 22 October 2020, 14:41 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
bon_csv2html script from bonnie++ package doesn't read the bonnie++ output correctly

With a file countaing:
Version 1.98 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
bleg 23G 725k 96 71.9m 17 32.3m 11 1713k 94 67.7m 15 64.0 4
Latency 30197us 975ms 777ms 19713us 440ms 5903ms
Version 1.98 ------Sequential Create------ --------Random Create--------
bleg -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 16384 17 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
Latency 217ms 1106us 539us 261us 35us 334us
1.98,1.98,bleg,1,1603444697,23G,,8192,5,725,96,73629,17,33079,11,1713,94,69343,15,64.0,4,16,,,,,9884,17,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,30197us,975ms,777ms,19713us,440ms,5903ms,217ms,1106us,539us,261us,35us,334us

the -Per Chr- fields that are expressed in k, for example 725k and 1713k and expressed as mb in the html output

Additional info:
* version: 1.98-1

Steps to reproduce:

bonnie++ > output.txt ; bon_csv2html output.txt > output.html
This task depends upon

Loading...