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)
Jun 14 2026, 11:29 AM
Unknown Object (File)
Jun 1 2026, 3:46 PM
Unknown Object (File)
Mar 11 2026, 1:17 PM
Unknown Object (File)
Nov 13 2025, 5:19 AM
Unknown Object (File)
Oct 19 2025, 12:38 PM
Unknown Object (File)
Sep 12 2025, 8:04 AM
Unknown Object (File)
Sep 11 2025, 1:40 PM
Unknown Object (File)
Sep 11 2025, 9:49 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