dts-linter 0.3.0-beta5 → 0.3.0-beta6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -50,6 +50,7 @@ dts-linter --formatFixAll
50
50
  | `--showInfoDiagnostics` | boolean | `false` | Show information-level diagnostics |
51
51
  | `--patchFile` | string | - | Write formatting diff output to file |
52
52
  | `--outputType` | string | `auto` | Output format type: auto, pretty, annotations, or json |
53
+ | `--threads` | number | `1` | Number of parallel LSP instances to use for processing files |
53
54
  | `--help` | boolean | `false` | Show help information |
54
55
 
55
56
  ### Examples
@@ -78,10 +79,26 @@ dts-linter --diagnosticsFull --include ./include --binding ./zephyr/dts/bindings
78
79
  dts-linter --format --patchFile changes.patch
79
80
  ```
80
81
 
82
+ #### Use multiple threads for faster processing
83
+
84
+ ```bash
85
+ dts-linter --format --diagnostics --threads 4
86
+ ```
87
+
81
88
  ## File Discovery
82
89
 
83
90
  When no `--file` option is provided, the linter automatically searches for DeviceTree files using the pattern `**/*.{dts,dtsi,overlay}` or `**/*.{dts}` when using `--diagnosticsFull` in the current working directory.
84
91
 
92
+ ## Performance and Threading
93
+
94
+ The linter supports parallel processing using multiple LSP instances to improve performance when processing many files:
95
+
96
+ - Use `--threads N` to specify the number of parallel LSP instances
97
+ - Each thread runs its own LSP server instance
98
+ - Files are automatically distributed among available threads
99
+ - Recommended to use 2-4 threads for optimal performance depending on your system
100
+ - Threading is particularly beneficial when processing large numbers of files or when using `--diagnosticsFull`
101
+
85
102
  ## Output Formats
86
103
 
87
104
  ### Standard Output
@@ -59,7 +59,7 @@ Repository: https://github.com/moxystudio/node-cross-spawn
59
59
 
60
60
  ----------------------------------------------------------------------
61
61
 
62
- devicetree-language-server@0.5.7
62
+ devicetree-language-server@0.6.0-beta1
63
63
  License: Apache-2.0
64
64
  Repository: https://github.com/kylebonnici/dts-lsp
65
65
 
@@ -71,7 +71,7 @@ Repository: https://github.com/kpdecker/jsdiff
71
71
 
72
72
  ----------------------------------------------------------------------
73
73
 
74
- dts-linter@0.3.0-beta5
74
+ dts-linter@0.3.0-beta6
75
75
  License: Apache-2.0
76
76
  Repository: https://github.com/kylebonnici/dts-linter
77
77