Skip to content

Verbose build takes 75x as long as regular build #4783

Description

@rgov

Configuration

Operating system: macOS 14.1.1 (arm64)

PlatformIO Version: PlatformIO Core, version 6.1.11

Description of problem

Building my project with --verbose significantly increases the time to build.

Steps to Reproduce

I have a very minimal project based on espidf:

platformio.ini
[env:test]
platform = espressif32 @ 5.4.0
framework = espidf

# Settings for ESP32-S3-WROOM-1U-N16
board = esp32-s3-devkitc-1
board_build.flash_mode = dio
board_build.partitions = partitions.csv
board_upload.flash_size = 16MB
board_upload.before_reset = no_reset
board_upload.after_reset = no_reset

Building regularly:

$ pio run -t clean && pio run
...
=== [SUCCESS] Took 22.97 seconds ===

Building verbosely:

$ pio run -t clean && pio run -v
...
=== [SUCCESS] Took 1722.01 seconds ===

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions