<feed xmlns='http://www.w3.org/2005/Atom'>
<title>metrics-lib, branch metrics-lib-2.15.0</title>
<subtitle>A Java library that fetches Tor descriptors from a variety of sources like cached descriptors and directory authorities/mirrors.</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/'/>
<entry>
<title>Prepare for 2.15.0 release.</title>
<updated>2020-12-11T13:50:18+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-12-11T13:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=07cab7f5604fe943c915c91251b8da322d53036c'/>
<id>07cab7f5604fe943c915c91251b8da322d53036c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide microdescriptor digest in hex encoding.</title>
<updated>2020-12-11T09:24:05+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-12-11T09:22:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=664921eb50491a774a5281bf1c12836ab7dedd94'/>
<id>664921eb50491a774a5281bf1c12836ab7dedd94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize parsing large files with many descriptors.</title>
<updated>2020-12-11T09:23:59+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-12-10T16:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=ff7e36c15626bdc24df54ebd94da5ab58f4de4c4'/>
<id>ff7e36c15626bdc24df54ebd94da5ab58f4de4c4</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse version 3 onion service statistics lines.</title>
<updated>2020-12-08T09:40:19+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-12-08T09:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=ee7c3eb73824a84e33b6c44b60fa8a32f37ab71e'/>
<id>ee7c3eb73824a84e33b6c44b60fa8a32f37ab71e</id>
<content type='text'>
Implements the library part of tpo/metrics/statistics#40002.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements the library part of tpo/metrics/statistics#40002.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 2.14.0-dev.</title>
<updated>2020-08-07T19:01:10+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-08-07T19:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=cf4830cac377503697c7e688e995a3f3cea5225e'/>
<id>cf4830cac377503697c7e688e995a3f3cea5225e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for 2.14.0 release.</title>
<updated>2020-08-07T18:54:48+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-08-07T18:54:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=750f6471a42c6cbdbfc3755076ae3a50dc822e67'/>
<id>750f6471a42c6cbdbfc3755076ae3a50dc822e67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse new ipv6-* lines in extra-info descriptors.</title>
<updated>2020-08-07T18:48:57+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-08-07T18:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=a7850a2dc0e8be8a7d9bc289c96dbeed6f204b00'/>
<id>a7850a2dc0e8be8a7d9bc289c96dbeed6f204b00</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse OnionPerf analysis results format v3.0.</title>
<updated>2020-07-16T19:37:19+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-07-16T19:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=b44c6bccb46ca1eb9c861a84dfcd7d5d2047dee4'/>
<id>b44c6bccb46ca1eb9c861a84dfcd7d5d2047dee4</id>
<content type='text'>
Implements tpo/metrics/library#40001.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements tpo/metrics/library#40001.
</pre>
</div>
</content>
</entry>
<entry>
<title>Exclude onionperf classes from Javadocs.</title>
<updated>2020-06-18T07:12:02+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-06-18T07:12:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=1f3028d082befde33f2294231b41c84d21f4c99b'/>
<id>1f3028d082befde33f2294231b41c84d21f4c99b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to latest metrics-base.</title>
<updated>2020-06-18T07:11:52+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-06-18T07:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/metrics-lib.git/commit/?id=563dae297646a96c57ff32ab4122cbadca6de94a'/>
<id>563dae297646a96c57ff32ab4122cbadca6de94a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
