Page 1 of 1

Can I display how long the build task takes in vscode extension?

Posted: Fri Aug 18, 2023 9:38 am
by policeman0077
Is there a way to display how long the compilation took?
One way I could thinks about is use idf.preBuildTask and idf.postBuildTask to record start and end time. Is there better way? Or idf.py already have build-in functions I didn't found
thanks.

Re: Can I display how long the build task takes in vscode extension?

Posted: Wed Oct 11, 2023 12:47 pm
by ESP_bignacio
Maybe you can try to use some additional option of ninja-build. In your <project-dir>/.vscode/settings.json add:

"idf.ninjaArgs": ["-d stats"]

Re: Can I display how long the build task takes in vscode extension?

Posted: Tue Jan 30, 2024 5:51 pm
by policeman0077
I'll try thank you for your advice