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)
Sun, Nov 17, 8:28 PM
Unknown Object (File)
Sun, Nov 17, 5:34 AM
Unknown Object (File)
Thu, Nov 14, 4:32 AM
Unknown Object (File)
Sun, Nov 10, 1:44 AM
Unknown Object (File)
Tue, Nov 5, 8:14 PM
Unknown Object (File)
Oct 22 2024, 1:47 PM
Unknown Object (File)
Oct 12 2024, 11:20 PM
Unknown Object (File)
Oct 9 2024, 8:12 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