peacemaker Expert Licensed User Longtime User Aug 21, 2021 #1 Hi, All How is compiling time recently in 2021 in B4R ? I have found that now my projects are compiled recently very long - 3+ minutes - it's...... terrible to wait. B4R v.3.90 Arduino v.1.8.15 ESP8266 projects using just several libs for EEPROM, OTA, Ping, WiFi, RAF, I2C... on Ryzen5 processor with 12 GB RAM WIn10 PC and SSD only (no any HDD, just tested 320...450 MBps sequental read speed is still here). Project is about 60 KB of 8 modules. All other regular PC applications work as usual fast. Empty ESP project is compiled during 2.5 minutes ! But why so slow compiling now? How fast at you ? Last edited: Aug 21, 2021
Hi, All How is compiling time recently in 2021 in B4R ? I have found that now my projects are compiled recently very long - 3+ minutes - it's...... terrible to wait. B4R v.3.90 Arduino v.1.8.15 ESP8266 projects using just several libs for EEPROM, OTA, Ping, WiFi, RAF, I2C... on Ryzen5 processor with 12 GB RAM WIn10 PC and SSD only (no any HDD, just tested 320...450 MBps sequental read speed is still here). Project is about 60 KB of 8 modules. All other regular PC applications work as usual fast. Empty ESP project is compiled during 2.5 minutes ! But why so slow compiling now? How fast at you ?
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2021 #2 Note that it is actually Arduino IDE command line tool that compiles the project. On my PC first run takes: Compiling & deploying Ino project (Generic ESP8266 Module - COM4) (43.14s) The following compilations are a few seconds quicker. Upvote 0
Note that it is actually Arduino IDE command line tool that compiles the project. On my PC first run takes: Compiling & deploying Ino project (Generic ESP8266 Module - COM4) (43.14s) The following compilations are a few seconds quicker.
peacemaker Expert Licensed User Longtime User Aug 22, 2021 #3 Erel said: Arduino IDE command line tool that compiles the project. Click to expand... Yes, Erel, thanks for test - my Arduino IDE itself is also slow, almost the same 2.5...3 mins to compile any ESP8266 project, but any native Arduino board project is compiled much more faster. What is your ESP8266 board version in Arduino's Board manager? My was 3.0.0, and now 3.0.1, both slow. But i see that 3.0.2 is available to install, but impossible to install. And how to check the compiler version ? I guess, if compilation is slow - it should be the compiler itself. upd. v.3.0.2 is installed OK via correct link "https://arduino.esp8266.com/stable/package_esp8266com_index.json", and the compiler "C:\Users\VLAD-HP\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed" is installed but no better speed Last edited: Aug 22, 2021 Upvote 0
Erel said: Arduino IDE command line tool that compiles the project. Click to expand... Yes, Erel, thanks for test - my Arduino IDE itself is also slow, almost the same 2.5...3 mins to compile any ESP8266 project, but any native Arduino board project is compiled much more faster. What is your ESP8266 board version in Arduino's Board manager? My was 3.0.0, and now 3.0.1, both slow. But i see that 3.0.2 is available to install, but impossible to install. And how to check the compiler version ? I guess, if compilation is slow - it should be the compiler itself. upd. v.3.0.2 is installed OK via correct link "https://arduino.esp8266.com/stable/package_esp8266com_index.json", and the compiler "C:\Users\VLAD-HP\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed" is installed but no better speed
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2021 #4 ESP8266 is indeed much slower than compiling to Arduino. It was always like this. I'm using Arduino IDE 1.8.15 and ESP8266 v3.0.0. Upvote 0
ESP8266 is indeed much slower than compiling to Arduino. It was always like this. I'm using Arduino IDE 1.8.15 and ESP8266 v3.0.0.
peacemaker Expert Licensed User Longtime User Aug 22, 2021 #5 Ha ! Solved by such way: 1) Installed ESP8266 board of latest version 3.0.2 - it's slow compilation. 2) And after it - re-install ESP8266 board to previous v.2.7.4: board files are still of latest v.3.0.2 preserved, but the compiler now is again old C:\Users\VLAD-HP\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\ And moreover - the old RTC code exception now is again working OK ! And compilation is 1.5 mins only !!! Solved. Upvote 0
Ha ! Solved by such way: 1) Installed ESP8266 board of latest version 3.0.2 - it's slow compilation. 2) And after it - re-install ESP8266 board to previous v.2.7.4: board files are still of latest v.3.0.2 preserved, but the compiler now is again old C:\Users\VLAD-HP\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\ And moreover - the old RTC code exception now is again working OK ! And compilation is 1.5 mins only !!! Solved.