LouisJenkinsCS / WaterQuality

0 stars 4 forks source link

Vastly increased performance and chart now loads Asynchronously #72

Closed LouisJenkinsCS closed 7 years ago

LouisJenkinsCS commented 7 years ago

Performance has been improved 10x, or proportional to the system it is run on and the number of logical cores on the machine. By running the computations for data processing on a CPU-Bound scheduler, Schedulers.computation, it effectively parallelized majority of the work code in DataReceiver and JSONProtocol.

As well, I'm using the AJAX function defined by Brandon (@bmeglathery) for loading the chart without needing to reload the page. It is incomplete, as I am thinking of extending Protocol again to have one specifically for descriptions, or maybe just combine it with normal data for convenience.