Skip to content

Commit 86ec047

Browse files
committed
add exectime last in the table to easier spot issues
1 parent 03dc8b5 commit 86ec047

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

library.html.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Flags: <pre>#customCommands#</pre>
5050
Config: <pre>#config#</pre>
5151
<p>Links are provided if getErrorString() or the simulation generates output. The links are coded with <font style="#FF0000">red</font> if there were errors, <font style="#FFCC66">yellow</font> if there were warnings, and normal links if there are only notifications.</p>
5252
<table>
53-
<tr><th>Model</th><th>Verified</th><th>Simulate</th><th>Total buildModel</th><th>Parsing</th><th>Frontend</th><th>Backend</th><th>SimCode</th><th>Templates</th><th>Compile</th></tr>
53+
<tr><th>Model</th><th>Verified</th><th>Simulate</th><th>Total buildModel</th><th>Parsing</th><th>Frontend</th><th>Backend</th><th>SimCode</th><th>Templates</th><th>Compile</th><th>Total Execution</th></tr>
5454
#testsHTML#
5555
</table>
5656
</body>

test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,8 @@ def cpu_name():
815815
checkPhase(s[3]["phase"], 4),
816816
timeSeconds(s[3].get("templates") or 0),
817817
checkPhase(s[3]["phase"], 5),
818-
timeSeconds(s[3].get("build") or 0)
818+
timeSeconds(s[3].get("build") or 0),
819+
timeSeconds(s[3].get("exectime") or 0)
819820
))(filename_prefix="files/%s_%s" % (s[2], s[1]), diff=s[3].get("diff"))
820821
for s in natsorted(stats, key=lambda s: s[1])])
821822
numSucceeded = [len(stats)] + [sum(1 if s[3]["phase"]>=i else 0 for s in stats) for i in range(1,8)]

0 commit comments

Comments
 (0)