mobizt / Firebase-ESP-Client

[DEPRECATED]🔥Firebase Arduino Client Library for ESP8266, ESP32 and RP2040 Pico. The complete, fast, secured and reliable Firebase Arduino client library that supports RTDB, Cloud Firestore, Firebase and Google Cloud Storage, Cloud Messaging and Cloud Functions for Firebase.
MIT License
471 stars 101 forks source link

improving compilation time #466

Closed wydmynd closed 1 year ago

wydmynd commented 1 year ago

Hello, we have a CS academic course that many projects use your library.

Most projects use RTDB or Firestore on ESP32 (soon starting RP2040) , many are having issues with the long compilation time. over 2 minutes on a modern laptop using Arduino IDE.

  1. what would you recommend to improve this? is there a way to un-include unnecessary parts of the library?
  2. What version of the ESP32 SDK for Arduino IDE would you recommend? Is there an advantage in moving to platformio?

thanks in advance

mobizt commented 1 year ago

It depends on many things from tool chains, your java, OS, firewall/antivirus and hardware.

In PlatformIO, it can compile faster than in ArduinoIDE.

You can exclude the filesystem library and other libraries in FirebaseFS.h that already wrote on Readme.