almost forgot the speed it flies.
on a low end i5
6 milliseconds for a 100,000 line log with regular averaging
13 milliseconds for the same log with linear regression
so it's pretty much real time
i bet i can shave it down to 10ms. maybe even 4-5ms if i did it in three threads.