win32Arduino is a windows/linux implementation of many arduino functions to allow an arduino library developer to unit test code outside of the arduino platform.
MIT License
2
stars
2
forks
source link
Logging should be in memory until a test completes #37
The logging mecanism is way too slow. The current implementation opens and closes the file each time an arduino function is called which is not effective with arduino functions that are time based (calls millis() multiple times).
A possible implementation would be to log every calls to memory and flush the memory to file when eixting the program or when changing the log filename. This would greatly speed up the process.
The logging mecanism is way too slow. The current implementation opens and closes the file each time an arduino function is called which is not effective with arduino functions that are time based (calls millis() multiple times).
A possible implementation would be to log every calls to memory and flush the memory to file when eixting the program or when changing the log filename. This would greatly speed up the process.