)]}'
{"rally/task/engine.py":[{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"3df72d5df0621338c8d8be5331e893d5165ec774","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        expected_iteration \u003d 0"},{"line_number":109,"context_line":"        buffered_iterations \u003d {}"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"        def check_sla(result):"},{"line_number":112,"context_line":"            success \u003d self.sla_checker.add_iteration(result)"},{"line_number":113,"context_line":"            if self.abort_on_sla_failure and not success:"},{"line_number":114,"context_line":"                self.sla_checker.set_aborted()"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_7ede8c6e","line":111,"updated":"2015-09-15 16:25:45.000000000","message":"This doesn\u0027t need to be an inner function, so because of the performance penalty on inner functions it shouldn\u0027t be.","commit_id":"98ec131cbeb74006733a09ab20871cf99539da93"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"3df72d5df0621338c8d8be5331e893d5165ec774","unresolved":false,"context_lines":[{"line_number":140,"context_line":"                result \u003d buffered_iterations.pop(expected_iteration)"},{"line_number":141,"context_line":"                self.results.append(result)"},{"line_number":142,"context_line":"                check_sla(result)"},{"line_number":143,"context_line":"            expected_iteration +\u003d 1"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def __exit__(self, exc_type, exc_value, exc_traceback):"},{"line_number":146,"context_line":"        self.finish \u003d time.time()"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_7e968c4d","line":143,"updated":"2015-09-15 16:25:45.000000000","message":"This whole process seems overcomplicated. Why not just buffer all of the results, then sort them by result[\"iteration\"]? E.g.:\n\n    while True:\n        if self.runner.result_queue:\n            result \u003d self.runner.result_queue.popleft()\n            self.results.append(result)\n            check_sla(result)\n    self.results.sort(key\u003doperator.itemgetter(\"iteration\"))","commit_id":"98ec131cbeb74006733a09ab20871cf99539da93"}],"rally/task/runner.py":[{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"29ca546c38982e1fc66b2ac2277f779d3403d898","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        \"properties\": {"},{"line_number":105,"context_line":"            \"iteration\": {"},{"line_number":106,"context_line":"                \"type\": \"number\""},{"line_number":107,"context_line":"            },"},{"line_number":108,"context_line":"            \"duration\": {"},{"line_number":109,"context_line":"                \"type\": \"number\""},{"line_number":110,"context_line":"            },"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_498738d7","line":107,"updated":"2015-09-16 08:50:34.000000000","message":"We can\u0027t change result schema at the moment.","commit_id":"98ec131cbeb74006733a09ab20871cf99539da93"}]}
