-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp108-1.21.0 compile (linker) very slow on OSX #25
Comments
According to your screenshot no compilation or linking took place on ubuntu. |
i'm compile this project, same Makefile: https://github.com/espressif/ESP32_RTOS_SDK/tree/master/examples/project_template |
|
Ok, then you can try to debug it. Maybe start with running link command under strace -f -c (is there strace in OSX? Does it have -c?) and seeing in which system calls the time is spent. |
i've used dtruss, and result:
|
This is an execution trace, it's too detailed and it doesn't have timing information. I was talking about collecting syscall statistics: number of calls and time spent. I see that dtruss supports -c option as well, could you start with that? |
With option -c, additional log:
|
No time report, unfortunately. And call counts look rather small. |
This is solved by: http://esp32.com/viewtopic.php?f=14&t=145&p=731#p669 |
I've tried on my Mac this command:
date +"%T" && make && date +"%T"
This line work very slow, about 4 minutes, 12 seconds:
while, only need 4 seconds on ubuntu:
Thanks,
The text was updated successfully, but these errors were encountered: