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
F15408678: D18470.id.diff
Wed, Mar 19, 12:46 AM
F15399329: D18470.diff
Mon, Mar 17, 4:01 AM
Unknown Object (File)
Feb 17 2025, 11:29 AM
Unknown Object (File)
Jan 15 2025, 7:33 PM
Unknown Object (File)
Dec 6 2024, 3:53 AM
Unknown Object (File)
Nov 30 2024, 10:14 AM
Unknown Object (File)
Nov 28 2024, 4:02 PM
Unknown Object (File)
Nov 27 2024, 7:58 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