Page MenuHomePhabricator

Add a configuration option for linter future limit
Needs ReviewPublic

Authored by stefren on Aug 25 2017, 1:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 6:52 PM
Unknown Object (File)
Mon, Apr 15, 10:32 PM
Unknown Object (File)
Thu, Apr 11, 8:36 AM
Unknown Object (File)
Wed, Apr 10, 5:44 PM
Unknown Object (File)
Wed, Apr 10, 5:14 PM
Unknown Object (File)
Mon, Apr 8, 7:31 PM
Unknown Object (File)
Mon, Apr 8, 6:35 AM
Unknown Object (File)
Sat, Mar 23, 6:20 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Blessed Reviewers
Summary

Currently linters are being run using futures, but with a limit of 8 at a time.
Testing indicates that using more futures could improve the runtime of the linter.
Adds a default of 32 futures for the linter, and allows for a config option which
overrides the default.

Test Plan

Ran arc lint --trace and watched PyLint run in ~5 seconds. Set
'parallelism' in .arclint to 8 and watched PyLint run in ~16 seconds.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18161
Build 24411: Run Core Tests
Build 24410: arc lint + arc unit