These are chat archives for esp8266/Arduino
I am having two problems evaluating SPIFFS on a Huzzah board. The write performance is about 20K bytes/sec. Do all ESP8266 boards write so slowly? Read performance (470 Kbytes/s) is very good.
The test code is on github.
The other problem is the test fails after 2-3 cycles of writing then reading a 1 Mbyte file. The same file name is used on every cycle and the file is removed (SPIFFS.remove) between cycles so free space in Flash should not be exhausted.
The test is run with a build from git today. Sample serial output follows.
SPIFFS Performance 49585 msecs 1048576 bytes 21147 write bytes/sec 2216 msecs 1048576 bytes 473184 read bytes/sec SPIFFS Performance write failed SPIFFS Performance open for write failed