FreeAndFair / ColoradoRLA

Software to facilitate risk-limiting audits at the state level, developed for the state of Colorado.
Other
21 stars 8 forks source link

Performance Improvements for Audits #890

Closed dmzimmerman closed 7 years ago

dmzimmerman commented 7 years ago

I completely overhauled how the cvr_audit_info is tracked, and used, in audits. This eliminates a whole lot of unnecessary database queries. I also restored the functionality of the ballot_under_audit_id to correctly indicate the actual ballot that should be under audit in the sequence we are displaying them, to go with the client changes that have not yet been merged.

nealmcb commented 7 years ago

Nice work! I see about a 70% increase in CVR import parsing speed with this PR.

But there are major implications for rla_export queries.