commit | a6bd044ac15370c66d984111d19fe3b31113d42e | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Oct 11 15:25:26 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Oct 17 17:47:20 2016 -0700 |
tree | a2f068ae382eecf689e4c852cb4d027efff2984c | |
parent | 8ef4397c2241964b7db5d424b0d14dfe73922696 [diff] |
Use parallel subprocesses to classify warnings. * Add a --processes flag to specify number of parallel processes, with default multiprocessing.cpu_count(). * Wrap long line to suppress pylint warning. Test: run warn.py with a large build.log file. Change-Id: I9a93a9324bc531c1bce741367013051ce40a67fa