neurosity / openbci-dashboard

A fullstack javascript app for capturing and visualizing OpenBCI EEG data
93 stars 23 forks source link

data traffic jam #5

Closed andrewheusser closed 8 years ago

andrewheusser commented 8 years ago

it seems like the data coming in lags a bit. when I stop the server, the data keeps flowing for a few seconds, making me think its getting caught up somewhere.

andrewheusser commented 8 years ago

i was messing around with the layout and found that the browser does a MUCH better job at rendering these graphs one at a time. any ideas for how to optimize browser performance with so much data being updated simultaneously?

alexcastillo commented 8 years ago

Hey @andrewheusser, I have also experienced the lag and the performance improvement when showing one chart at a time. I'll look into it and let you know. I have a feeling it is related to multiple event listeners from sockets.

alexcastillo commented 8 years ago

Fixed with the new nav and smoothie chart for time series