pcolby / bipolar

Free your data from Polar FlowSync
GNU General Public License v3.0
115 stars 16 forks source link

Speed up tests #71

Closed pcolby closed 8 years ago

pcolby commented 8 years ago

It now takes 3 hours for Travis CI and just over 6 hours on AppVeyor, to run through all tests on all configurations.

Anything we can do to reduce this will bring compound time savings.

pcolby commented 8 years ago

I think we can speed up the tests quite significantly if we maintain a dictionary of (read-only) parsed sessions instead of re-parsing each session for each test type. Specifically, parsing the session samples data is quite time-consuming.

pcolby commented 8 years ago

Well that's got it down to half... so pretty good improvement for now :smile: