*2 I am not sure why they don't ask for the file name first, then stream it to NVRAM rather than keeping the data in RAM.
NVM data wear. Continuously appending the file for every sample would be a bad idea.
But yes, it should do this by buffering, so pick a number like 1000 samples before appending. Worst case you lose 1000 samples.
My desktop PC is from 2016 and uses SSD. I treat the drive no differently than any other. All of my vintage TE which was Windows based was also converted to SSD and again, they get no special treatment. In that case, the drives handle the wear leveling. I am surprised a modern cell phone it's actually a concern. Consider people toss them out after a few years anyway.
I suspect keeping it all in RAM is also the cause of the slow down. I wonder if the OS is swapping the RAM to NVRAM. The following is from one test. The first set is at the beginning, the second at the end.
2025-07-15,21:52:51.124,BM78xBT,#channel1,Resistance,0.9999,k,Ω
2025-07-15,21:52:51.329,BM78xBT,#channel1,Resistance,0.9999,k,Ω
2025-07-15,21:52:51.542,BM78xBT,#channel1,Resistance,0.9999,k,Ω
2025-07-15,21:52:51.741,BM78xBT,#channel1,Resistance,0.9999,k,Ω
2025-07-15,21:52:51.949,BM78xBT,#channel1,Resistance,0.9999,k,Ω
2025-07-17,19:00:27.640,BM78xBT,#channel1,Resistance,0.9998,k,Ω
2025-07-17,19:00:29.291,BM78xBT,#channel1,Resistance,0.9998,k,Ω
2025-07-17,19:00:31.149,BM78xBT,#channel1,Resistance,0.9998,k,Ω
2025-07-17,19:00:33.003,BM78xBT,#channel1,Resistance,0.9998,k,Ω
2025-07-17,19:00:34.860,BM78xBT,#channel1,Resistance,0.9997,k,Ω
2025-07-17,19:00:36.719,BM78xBT,#channel1,Resistance,0.9998,k,Ω
Consider that the early versions would only run on 1 of the 3 phones I have. They have made some very big improvements in the last few months. The loss of data and the fact it can't keep up IMO are the biggest problems they face.