- Mar 07, 2018
-
-
iwakeh authored
Making the test from the previous commit pass and fixing task-25522.
-
iwakeh authored
Making a static method easier accessible for tests.
-
Karsten Loesing authored
We did download bastet's votes in the past after reading the consensus. But there could have been situations when there was no consensus that we did not explicitly ask for bastet's vote. Found per chance while setting up a CollecTor instance with a webstats module.
-
- Feb 26, 2018
-
-
iwakeh authored
Part of task-20234.
-
Karsten Loesing authored
-
iwakeh authored
Clean log lines immediately when they are read and also make use of sanitized log's high redundancy immediately, i.e., continue with maps of <LocalDate, <Map<String, Long>>. Rename method(s) to reflect what they do.
-
- Feb 20, 2018
-
-
iwakeh authored
Adapt to latest changes of metrics-lib (task-25329) and make use of the high redundancy of logs (e.g. a 3G file might only contain 350 different lines). This avoids OOM and array out of bounds exceptions for large files (>2G) and gives a speed-up of roughly 50%. (The earlier 66min are down to 34min for meronense&weschniakowii files plus two larger files.) There is a BATCH constant, which could be tuned for processing speed. It is logged for each webstats module run. Currently, it is set to 100k. This was more or less arbitrarily chosen and used for all the tests. A test run using 500k didn't show significant differences.
-
iwakeh authored
-
iwakeh authored
-
iwakeh authored
Also edit here and there for more readability and less lines.
-
iwakeh authored
Add convenience constructor accepting the first string as argument.
-
iwakeh authored
To avoid possible inconsistencies DescriptorBuilder is finalized after the first call to 'toString' and cannot be altered anymore. Any attempt to add more leads to an IllegalStateException.
-
iwakeh authored
-
iwakeh authored
This might facilitate easier processing of descriptors.
-
iwakeh authored
The class doesn't 'know' about descriptor sanitization, it is only a sort of container for writing descriptors. It could be actually moved to some util package and used in other parsing steps, too. Also rename test helper classes to avoid naming conflicts. Remove 'descriptor' from variable names. Make DescriptorBuilder public. Adapt other classes as well as tests.
-
Karsten Loesing authored
First step towards implementing #20549.
-
- Feb 05, 2018
- Jan 31, 2018
-
-
iwakeh authored
Implements task-22428.
-
- Jan 09, 2018
-
-
Karsten Loesing authored
-
- Dec 15, 2017
-
-
Karsten Loesing authored
-
- Dec 14, 2017
-
-
Karsten Loesing authored
Fixes #24621.
-
- Oct 26, 2017
-
-
Karsten Loesing authored
-
- Oct 25, 2017
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
Typically, the "published" line appears before the "fingerprint" line. However, an alternative Tor implementation orders these two lines differently, which is valid due to the spec. We need to handle this case by accepting lines in either order. Fixes #23981.
-
Karsten Loesing authored
- Oct 17, 2017
-
-
Karsten Loesing authored
-
- Oct 09, 2017
-
-
iwakeh authored
Implements the final part of task-21414 for CollecTor.
- Sep 20, 2017