Start the CLI daemon without the --log-format json
#1544
Labels
topic: CLI
Related to Arduino CLI
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
The daemon logging is essential in IDE2, but the JSON format adds an unnecessary computation; at least the JSON encoding phase is there. If this means only milliseconds of improvement, it will eventually add up.
Consider starting the daemon without the JSON log format.
With the proposed changes 👆, the daemon log output would be this:
instead of this:
I believe both log formats are equally OK to consume, but the non-JSON one is cheaper.
Describe the current behavior
See the request description.
Arduino IDE version
1e269ac
Operating system
macOS
Operating system version
12.5.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: