Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By martinayotte
#42283 That is a good question !
I don't think ever seen SPIFFS benchmarks somewhere ...
(Although didn't search for it)

EDIT : maybe it is only open() that consume lot of time, and that reading 4K instead of 160 chars won't make much difference.
Last edited by martinayotte on Wed Mar 02, 2016 10:22 pm, edited 1 time in total.
User avatar
By martinayotte
#42304 Roger, are you doing your println() to serial or to wifi client ?
Because there is a latency with wifi client with multiple println(), in such case, you need to concatenate your debug within a string and send it with only one println() once in awhile.
User avatar
By RogerClark
#42352 Hi Martin

My current problems are that reading a file from SPIFFS into memory (a String) appears to be slow.

I have lists of actions stored in files so I have to read the file, then parse it, and then do the appropriate actions. e.g. take some readings and send them to an Internet server.

I didnt have time to put in any timing stuff, as I have another intermittent crash bug at the moment, which it was more important to solve.
But its now only crashing once an hour on normal operation, which makes finding the problem difficult.
I may need to resort to setting up GDB