)]}'
{"zaqar/bench/conductor.py":[{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"e3180acbb572f92b427b3a5b9bc36cb72a4224cc","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def main():"},{"line_number":40,"context_line":"    conf(project\u003d\u0027zaqar\u0027, prog\u003d\u0027zaqar-benchmark\u0027)"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    downstream_queue \u003d mp.Queue()"},{"line_number":43,"context_line":"    procs \u003d [mp.Process(target\u003dworker.run, args\u003d(downstream_queue,))"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_4c7b5f29","line":40,"updated":"2014-08-25 21:22:11.000000000","message":"I\u0027ll upload a fix for this (conf \u003d\u003d\u003e CONF) once the other patches land and it is easier to rebase stuff.","commit_id":"8be83a95ea79533a6cccc99b0014ce2e82b2736b"}],"zaqar/bench/observer.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"9aaae99402b829064df64338795fb3742edef3bb","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    })"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"def load_generator(stats, num_workers, num_queues,"},{"line_number":99,"context_line":"                   test_duration, limit):"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    cli \u003d client.Client(CONF.server_url)"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_b77cf2b6","line":98,"updated":"2014-08-27 12:04:12.000000000","message":"Do we need to DRY this function? We\u0027ve some copies of it in consumer and producer, IIRC","commit_id":"c8015f01881fa59916eb2aed564a60adc205e6c5"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"d31e753877429f94e76a0b430cbb3eb6f53f7418","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    })"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"def load_generator(stats, num_workers, num_queues,"},{"line_number":99,"context_line":"                   test_duration, limit):"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    cli \u003d client.Client(CONF.server_url)"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_abd64bef","line":98,"in_reply_to":"1abeadc6_b77cf2b6","updated":"2014-08-27 13:30:08.000000000","message":"There is actually a ton of stuff to DRY up - I can plan on doing that all in a followup patch if you\u0027re cool with that.","commit_id":"c8015f01881fa59916eb2aed564a60adc205e6c5"},{"author":{"_account_id":10777,"name":"Nataliia Uvarova","email":"grafinya.uvarova@gmail.com","username":"AAzza"},"change_message_id":"2ebbce04d7b1b24ae6b8b0600fc74d5450b3cca2","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    if num_procs and num_workers:"},{"line_number":141,"context_line":"        test_duration \u003d CONF.time"},{"line_number":142,"context_line":"        stats \u003d mp.Queue()"},{"line_number":143,"context_line":"        # TODO(TheSriram) : Make ttl and grace configurable"},{"line_number":144,"context_line":"        args \u003d (stats, num_workers, num_queues, test_duration,"},{"line_number":145,"context_line":"                CONF.messages_per_list)"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_3872b8e3","line":143,"updated":"2014-08-26 16:55:02.000000000","message":"propably left from copy-paste: this comment is not needed here","commit_id":"c8015f01881fa59916eb2aed564a60adc205e6c5"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"d31e753877429f94e76a0b430cbb3eb6f53f7418","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    if num_procs and num_workers:"},{"line_number":141,"context_line":"        test_duration \u003d CONF.time"},{"line_number":142,"context_line":"        stats \u003d mp.Queue()"},{"line_number":143,"context_line":"        # TODO(TheSriram) : Make ttl and grace configurable"},{"line_number":144,"context_line":"        args \u003d (stats, num_workers, num_queues, test_duration,"},{"line_number":145,"context_line":"                CONF.messages_per_list)"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_4b3f7725","line":143,"in_reply_to":"1abeadc6_3872b8e3","updated":"2014-08-27 13:30:08.000000000","message":"Done","commit_id":"c8015f01881fa59916eb2aed564a60adc205e6c5"},{"author":{"_account_id":10777,"name":"Nataliia Uvarova","email":"grafinya.uvarova@gmail.com","username":"AAzza"},"change_message_id":"2ebbce04d7b1b24ae6b8b0600fc74d5450b3cca2","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        duration \u003d time.time() - start"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"        if duration:"},{"line_number":167,"context_line":"            throughput \u003d total_succeeded / duration"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"        if total_succeeded:"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_735d3315","line":166,"updated":"2014-08-26 16:55:02.000000000","message":"Q: when duration can be 0? because in ipython even\n\ntime.time() - time.time()\n\ngives small, but not zero float number (e.g. -9.5367431640625e-07),\nso this condition will always be true.","commit_id":"c8015f01881fa59916eb2aed564a60adc205e6c5"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"d31e753877429f94e76a0b430cbb3eb6f53f7418","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        duration \u003d time.time() - start"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"        if duration:"},{"line_number":167,"context_line":"            throughput \u003d total_succeeded / duration"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"        if total_succeeded:"}],"source_content_type":"text/x-python","patch_set":6,"id":"1abeadc6_2b107ba7","line":166,"in_reply_to":"1abeadc6_735d3315","updated":"2014-08-27 13:30:08.000000000","message":"Done","commit_id":"c8015f01881fa59916eb2aed564a60adc205e6c5"}]}
