{"push_id":1137053735,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"f3ab367e7830e3ab17f12cd47d1a81217973b844","before":"b35e69696d63b00693ea4bf2563babb20c51be30","commits":[{"sha":"f3ab367e7830e3ab17f12cd47d1a81217973b844","author":{"name":"yinjie","email":"85a3489c9b70f779d28cc7e3a565aed0d0f2562f@chromium.org"},"message":"Speed up hot functions of PriorityWriteScheduler.\n\nPopNextReadyStream and NumReadyStreams are expensive.\nPopNextReadyStream is expensive because of its hash table lookup;\nNumReadyStreams is expensive because it is called many times and needs\nto do a surprising amount of math (GCC's deque::size() is less efficient than\nyou might expect).\n\nMitigate these problems by storing a pointer to the stream info in the ready\nlist, and by continuously counting the number of ready streams so\nNumReadyStreams() can directly return a member. Also re-implement\nHasReadyStreams() in terms of num_ready_streams_ now that it's available.\n\nThis CL lands server change 123225515 by jdorfman\n\nBUG=488484\n\nReview-Url: https://codereview.chromium.org/2020773003\nCr-Commit-Position: refs/heads/master@{#396850}","distinct":true,"url":"https://api.github.com/repos/dstockwell/chromium/commits/f3ab367e7830e3ab17f12cd47d1a81217973b844"}]}
{"actor":{"display_login":"dstockwell"}}