summaryrefslogtreecommitdiff
path: root/script/cli/check.lua
AgeCommit message (Collapse)Author
2024-08-15Fix lua-language-server --check (#2683)Wu, Zhenyu
2024-04-27Add multi-process support to --check.Paul Emmerich
Set the parameter --num_threads to the desired number of worker tasks to potentially speed up --check. This works by spawning multiple sub-proccesses that each run the desired diagnostics on a subset of the workspace. Each process will still load and compile the entire workspace, so there are diminishing returns and memory usage increases linearly with the number of threads. Overall this can reduce the runtime by about ~50% for my projects, example results: Workspace 1, dominated by a few large/complex files 1 thread: 49.7 seconds 2 threads: 31.8 seconds 4 threads: 23.6 seconds 8 threads: 24.4 seconds Workspace 2, large number of small-ish files 1 thread: 96.0 seconds 2 threads: 76.5 seconds 4 threads: 49.5 seconds 8 threads: 38.1 seconds
2024-04-20--check: Attempt to write output even if an error occursPaul Emmerich
This enables writing partial output if you press ctrl-c after seeing the first errors show up.
2024-04-20Output more details while running --checkPaul Emmerich
2024-03-05Merge pull request #2547 from emmericp/patch-1最萌小汐
Flush stdout in check progress indicator
2024-02-26Only load files in workspace for --check (skip libraries)Paul Emmerich
2024-02-26Flush stdout in check progress indicatorPaul Emmerich
stdout is often line-buffered and needs flushing for the progress indicator to work
2024-02-23Enable plugins during --checkDanny Farrell
2023-10-10Add `--check_out_path` CLI argumentRebecca Turner
This allows customizing where the diagnostic JSON file is saved.
2023-06-13update config in checking最萌小汐
fix #2038
2023-03-29commandline parameter `checklevel` may not work最萌小汐
2023-03-09fix #1955最萌小汐
2022-12-01update json.lua最萌小汐
2022-11-30Fix validation in CLI if diagnostics.severity contains ...! settingsAleksandr Kovalev
2022-06-07cleanup最萌小汐
2022-03-01locale最萌小汐
2022-03-01update最萌小汐
2022-03-01offline diagnostic最萌小汐