Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Refactor progress, so it just works against the rules as a whole #120

Merged
merged 1 commit into from
Apr 10, 2015

Conversation

LinuxBozo
Copy link
Contributor

Because the rules are CPU bound, events emitted while inside the rule processing (emitted for each LAR) don't get emitted efficiently. Switch the events so that the percentage is based on all the rules being run during a certain stage in the process rather than all the rules + all the lars. This means we don't have to do a magic number calculation for the macros either.

Because I've yanked so much code in this refactor, coverage numbers will go down a bit.

poorgeek added a commit that referenced this pull request Apr 10, 2015
Refactor progress, so it just works against the rules as a whole
@poorgeek poorgeek merged commit b156778 into cfpb:milestone9 Apr 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants