commit | 1a47aaa1c79c521d739db852c39f09efd2a6fb94 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Jul 11 13:47:44 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Aug 14 13:56:08 2019 -0700 |
tree | d811544e4c715745a6c0dfa90c2e983250e38dab | |
parent | 40dad805432a32922149142b34def3d14b065e8f [diff] |
adb: fdevent: add fdevent_context_epoll. Implement an epoll-backed fdevent_context, that reduces overhead when we're polling many file descriptors. FdeventTest.smoke goes from ~5.2s to ~3.3s when run on the host (after this patch's modification to change it from chaining 10 file descriptors together to 512). Test: adb_test on host Test: adbd_test on blueline Test: test_adb.py Test: test_device.py Change-Id: Iacf0093aa7bebea31e447c2cb012af72d8c3297e