Merge lp:~kalebral-deactivatedaccount/drizzle-automation/sysbench-report-fix into lp:drizzle-automation

Proposed by Lee Bieber
Status: Merged
Approved by: Patrick Crews
Approved revision: 223
Merged at revision: 224
Proposed branch: lp:~kalebral-deactivatedaccount/drizzle-automation/sysbench-report-fix
Merge into: lp:drizzle-automation
Diff against target: 69 lines (+14/-10)
3 files modified
drizzle/automation/config/sysbench/innodb_1000K_readonly.cnf (+1/-0)
drizzle/automation/config/sysbench/innodb_1000K_readwrite.cnf (+1/-0)
drizzle/automation/reports/sysbench.py (+12/-10)
To merge this branch: bzr merge lp:~kalebral-deactivatedaccount/drizzle-automation/sysbench-report-fix
Reviewer Review Type Date Requested Status
Patrick Crews Approve
Review via email: mp+43493@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Patrick Crews (patrick-crews) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'drizzle/automation/config/sysbench/innodb_1000K_readonly.cnf'
--- drizzle/automation/config/sysbench/innodb_1000K_readonly.cnf 2010-10-11 04:31:43 +0000
+++ drizzle/automation/config/sysbench/innodb_1000K_readonly.cnf 2010-12-13 05:04:52 +0000
@@ -10,6 +10,7 @@
10innodb.additional-mem-pool-size= 16M10innodb.additional-mem-pool-size= 16M
11table-open-cache= 409611table-open-cache= 4096
12table-definition-cache= 409612table-definition-cache= 4096
13mysql-protocol.max-connections=2048
1314
14[mysqld]15[mysqld]
1516
1617
=== modified file 'drizzle/automation/config/sysbench/innodb_1000K_readwrite.cnf'
--- drizzle/automation/config/sysbench/innodb_1000K_readwrite.cnf 2010-10-11 04:31:43 +0000
+++ drizzle/automation/config/sysbench/innodb_1000K_readwrite.cnf 2010-12-13 05:04:52 +0000
@@ -10,6 +10,7 @@
10innodb.additional-mem-pool-size= 16M10innodb.additional-mem-pool-size= 16M
11table-open-cache= 409611table-open-cache= 4096
12table-definition-cache= 409612table-definition-cache= 4096
13mysql-protocol.max-connections=2048
1314
14[mysqld]15[mysqld]
1516
1617
=== modified file 'drizzle/automation/reports/sysbench.py'
--- drizzle/automation/reports/sysbench.py 2010-11-12 23:27:46 +0000
+++ drizzle/automation/reports/sysbench.py 2010-12-13 05:04:52 +0000
@@ -282,10 +282,11 @@
282 report_text= report_text + """282 report_text= report_text + """
283====================================================================================================283====================================================================================================
284"""284"""
285 results= getRegressionOverRange(run_id, last_5_revs)285 if len(last_5_revs) > 0:
286 for result in results:286 results= getRegressionOverRange(run_id, last_5_revs)
287 report_text= report_text + "%-6s %6s %12s %10s %10s %10s %10s %10s\n" % tuple(result)287 for result in results:
288 report_text= report_text + """====================================================================================================288 report_text= report_text + "%-6s %6s %12s %10s %10s %10s %10s %10s\n" % tuple(result)
289 report_text= report_text + """====================================================================================================
289290
290TRENDING OVER Last 20 runs %s291TRENDING OVER Last 20 runs %s
291292
@@ -297,19 +298,20 @@
297 report_text= report_text + """298 report_text= report_text + """
298====================================================================================================299====================================================================================================
299"""300"""
300 results= getRegressionOverRange(run_id, last_20_revs)301 if len(last_20_revs) > 0:
301 for result in results:302 results= getRegressionOverRange(run_id, last_20_revs)
302 report_text= report_text + "%-6s %6s %12s %10s %10s %10s %10s %10s\n" % tuple(result)303 for result in results:
304 report_text= report_text + "%-6s %6s %12s %10s %10s %10s %10s %10s\n" % tuple(result)
303305
304 report_text= report_text + """====================================================================================================306 report_text= report_text + """====================================================================================================
305307
306TRENDING OVER ALL runs %s308TRENDING OVER ALL runs %s
307309
308""" % (310""" % (
309 report_notation311 report_notation
310)312)
311 report_text= report_text + "%-6s %-7s %-17s %-10s %-10s %-10s %-10s %-10s" % ("Conc","TPS","% Diff from Avg","Diff","Min","Max","Avg","STD")313 report_text= report_text + "%-6s %-7s %-17s %-10s %-10s %-10s %-10s %-10s" % ("Conc","TPS","% Diff from Avg","Diff","Min","Max","Avg","STD")
312 report_text= report_text + """314 report_text= report_text + """
313====================================================================================================315====================================================================================================
314"""316"""
315317

Subscribers

People subscribed via source and target branches

to all changes: