- 14 Jun, 2021 2 commits
-
-
Iain Learmonth authored
-
Iain Learmonth authored
-
- 11 Jun, 2021 1 commit
-
-
Iain Learmonth authored
Fixes #40005.
-
- 02 May, 2021 2 commits
-
-
Iain Learmonth authored
-
Iain Learmonth authored
-
- 22 Apr, 2021 2 commits
-
-
Iain Learmonth authored
-
Iain Learmonth authored
Fixes: #40004
-
- 19 Apr, 2021 2 commits
-
-
Iain Learmonth authored
-
Iain Learmonth authored
This test only ensures that the new fields do not cause the parser to crash, it does not look at actually parsing those fields. Fixes: #40003
-
- 15 Apr, 2021 2 commits
-
-
Iain Learmonth authored
-
Iain Learmonth authored
-
- 18 Dec, 2020 1 commit
-
-
Karsten Loesing authored
Implements #40002.
-
- 11 Dec, 2020 4 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
When parsing a large file with many descriptors we would repeatedly search the remaining file for the sequence "newline + keyword + space" and then "newline + keyword + newline" to find the start of the next descriptor. However, if the keyword is always followed by newline, the first search would always fail. The optimization here is to search once whether the keyword is followed by space or newline and avoid unnecessary searches when going through the file. In the long term we should use a better parser. But in the short term this optimization will have a major impact on performance, in particular with regard to concatenated microdescriptors.
-
- 08 Dec, 2020 1 commit
-
-
Karsten Loesing authored
Implements the library part of tpo/metrics/statistics#40002.
-
- 07 Aug, 2020 3 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- 16 Jul, 2020 1 commit
-
-
Karsten Loesing authored
Implements tpo/metrics/library#40001.
-
- 18 Jun, 2020 2 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- 17 May, 2020 1 commit
-
-
Karsten Loesing authored
Implements the remaining part of #30602.
-
- 16 May, 2020 2 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- 15 May, 2020 1 commit
-
-
Karsten Loesing authored
-
- 14 May, 2020 1 commit
-
-
Karsten Loesing authored
Implements #26673.
-
- 12 May, 2020 1 commit
-
-
Karsten Loesing authored
As discussed on #34031, we should avoid keeping a map of known failure types in the sources and simply put together the error code in the format we want. This patch implements that change.
-
- 30 Apr, 2020 9 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
We are detecting descriptor types of parsed descriptors by either content or file name. In some cases, if we downloaded descriptors from web servers, there is no file name. In other cases the file name can match more than one descriptor type. It seems most robust to move the file name checks to the end, which includes web server access logs and OnionPerf analysis files.
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
It seemed like a good idea to decompress xz-compressed files before handing over decompressed bytes to descriptor implementations. However, our web logs expect descriptor bytes to be in compressed form, and now they're unhappy about receiving uncompressed bytes. Changing this back and teaching OnionPerf analysis files to expect compressed bytes, too. Found by running CollecTor's unit tests.
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
Implements #34070.
-
- 13 Apr, 2020 2 commits
-
-
Karsten Loesing authored
-
Karsten Loesing authored
-