Skip to content

Add JUnit writer for speed tests, remove hardcoded reference times - #174

Merged
nouiz merged 3 commits into
lisa-lab:masterfrom
slefrancois:speed_report
Oct 11, 2016
Merged

Add JUnit writer for speed tests, remove hardcoded reference times#174
nouiz merged 3 commits into
lisa-lab:masterfrom
slefrancois:speed_report

Conversation

@slefrancois

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread code/test.py Outdated
f.write('<testsuite name="theano_speedtests" tests="{ntests}">\n'
.format(ntests=numpy.size(test_total)))

write_junit(speed_file, algo_executed, float64_times, label='float64')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to make the code more clear, you can do just one "with" and pass f here instead of speed_file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in new commits, also corrected some errors that would pop up if some tests flags were set to false, it would still to access the undeclared results variables.

@nouiz
nouiz merged commit 6b719ba into lisa-lab:master Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants