RESOLVED FIXED 77513
webkit-perf.appspot.com should accept test results without medians
https://bugs.webkit.org/show_bug.cgi?id=77513
Summary webkit-perf.appspot.com should accept test results without medians
Ryosuke Niwa
Reported 2012-01-31 23:16:57 PST
Dromaeo tests are missing median values due to some technical issues. webkit-perf should be able to handle such reports.
Attachments
fixes the bug (2.11 KB, patch)
2012-01-31 23:23 PST, Ryosuke Niwa
morrita: review+
Ryosuke Niwa
Comment 1 2012-01-31 23:23:40 PST
Created attachment 124889 [details] fixes the bug
Hajime Morrita
Comment 2 2012-01-31 23:44:01 PST
Comment on attachment 124889 [details] fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=124889&action=review r=me. Sometime we should have test for this. > Websites/webkit-perf.appspot.com/report_handler.py:99 > + TestResult(name=test_name, build=build, value=float(result['avg']), valueMedian=_float_or_none(result, 'median'), Considering TestResult.value is required field, this change looks reasonable.
Ryosuke Niwa
Comment 3 2012-01-31 23:46:20 PST
(In reply to comment #2) > (From update of attachment 124889 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=124889&action=review > > r=me. Sometime we should have test for this. Yeah... Unfortunately, App Engine doesn't have any testing framework for python the last time I checked :( > > Websites/webkit-perf.appspot.com/report_handler.py:99 > > + TestResult(name=test_name, build=build, value=float(result['avg']), valueMedian=_float_or_none(result, 'median'), > > Considering TestResult.value is required field, this change looks reasonable. Yes. In fact, _results_are_valid checks the existence of this value.
Ryosuke Niwa
Comment 4 2012-01-31 23:51:32 PST
Anyway thanks for the review! Landed as http://trac.webkit.org/changeset/106436.
Note You need to log in before you can comment on or make changes to this bug.