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
F13203975: D18470.diff
Wed, May 15, 12:15 AM
F13186670: D18470.diff
Sat, May 11, 3:48 AM
Unknown Object (File)
Tue, May 7, 7:06 AM
Unknown Object (File)
Sun, May 5, 8:47 PM
Unknown Object (File)
Sun, May 5, 8:24 PM
Unknown Object (File)
Sun, May 5, 8:18 PM
Unknown Object (File)
Fri, May 3, 5:11 AM
Unknown Object (File)
Fri, May 3, 5:11 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