[tor-dev] Comparing Stem, metrics-lib, and zoossh

Karsten Loesing karsten at torproject.org
Wed Jan 13 16:47:03 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/01/16 16:28, Philipp Winter wrote:
> On Tue, Jan 12, 2016 at 09:40:35AM +0100, Karsten Loesing wrote:
>> Philipp, would you be able to write the Zoossh counterpart for
>> the descriptor types supported by it?
> 
> I attached a small tool that should do the same thing Damian's
> script does for consensuses and server descriptors.  Note, however,
> that it cannot processed tar archives.  It expects as input
> directories that contain consensuses and server descriptors.
> 
> You can compile it with "go build benchmark.go".

Cool, thanks!  I added the Zoossh results below.

server-descriptors-2015-11.tar:
 - metrics-lib: 0.285430 ms (100%)
 - Stem: 1.02 ms (357%)
 - Zoossh: 0.458566 ms (161%)

extra-infos-2015-11.tar:
 - metrics-lib: 0.215500 ms (100%)
 - Stem: 0.68 ms (316%)

consensuses-2015-11.tar:
 - metrics-lib: 246.713092 ms (100%)
 - Stem: 1393.10 ms (565%)
 - Zoossh: 83 ms (34%)

microdescs-2015-11.tar:
 - metrics-lib: 0.066566 ms (100%)
 - Stem: 0.66 ms (991%)

Do the Zoossh results there look plausible?

All the best,
Karsten

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJWln+HAAoJEJD5dJfVqbCruJgIAJbd0mYKE7qYEZgdh1zhN4Bs
bdiLLJqrwY5PEY2OSJ2mZ4nPelgc4vnWU93dihZMfjBSKD9OokbS3+a0x7ErVtt3
s8pPuKKs2blNDliSNsHuK/dQwEjLGZgxtOxtrYDpTL+oMAU/cZ2S3t3joSlX9Dfh
EnXCrVc3pfMyDbANaO2bf8Vz0qP2ps0Gd+JE5XRjwkJtebAXV4UJ5LRH+wedChBa
zpUPLMrBET+sWMzs5vxWRhAbmJcrV/tkZmgBmiuvcuTeu8fc4xejsxKKQx4jhYKR
hVx5sH679MXoS4ODDCC0RUIgB+PFg7/cEBGPSDPGxAvuonEQXwCyatR0Opj9gMc=
=754/
-----END PGP SIGNATURE-----


More information about the tor-dev mailing list