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, Jan 15, 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
Unknown Object (File)
Nov 17 2024, 8:28 PM
Unknown Object (File)
Nov 17 2024, 5:34 AM
Unknown Object (File)
Nov 14 2024, 4:32 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