-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--statistics never implemented, disabled
--statistics command line parameter was never implemented. There are bits of logic and code left over from the previous attempt, like in merge_return that assumes somewhere certain statistics data has been collected to be handled in the central process, but that statistics collection has never actually been done except for one place: wxr.config.section_counts gets incremented in en/page.py, BUT even that data is then discarded if multiprocessing is used and merging is required (because there is no data sent with the merge). Using --statistics doesn't actually print any statistics, except if you are processing one page (or one process): then you get section_counts. What is currently typed as CollagedErrorReturnData is assumed to be actually a larger collection that includes these count statistics. I've commented out the code related to all of this; nothing should break, because nothing actually touches this. To make it easier to find all these random bits, I've commented them with the term `STATISTICS_IMPLEMENTATION`.
- Loading branch information
1 parent
ed8804d
commit 7c83565
Showing
3 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters