Debian Codegraph @

debian/control

raw
1 Source: golang-github-dennwc-varint
2 Section: golang
3 Maintainer: Debian Go Packaging Team <[email protected]>
4 Uploaders:
5 Guillem Jover <[email protected]>,
6 Build-Depends:
7 debhelper-compat (= 13),
8 dh-sequence-golang,
9 golang-any (>= 2:1.17~),
10 Testsuite: autopkgtest-pkg-go
11 Standards-Version: 4.7.4
12 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-dennwc-varint
13 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-dennwc-varint.git
14 Homepage: https://github.com/dennwc/varint
15 XS-Go-Import-Path: github.com/dennwc/varint
16
17 Package: golang-github-dennwc-varint-dev
18 Architecture: all
19 Multi-Arch: foreign
20 Depends:
21 ${misc:Depends},
22 Description: fast varint library for Go (library)
23 This package provides an optimized implementation of protobuf's varint
24 encoding/decoding.
25 .
26 Benchmarks comparing to a binary.Uvarint:
27 .
28 benchmark old ns/op new ns/op delta
29 BenchmarkUvarint/1-8 4.13 2.85 -30.99%
30 BenchmarkUvarint/1_large-8 4.01 2.28 -43.14%
31 BenchmarkUvarint/2-8 6.23 2.87 -53.93%
32 BenchmarkUvarint/2_large-8 5.60 2.86 -48.93%
33 BenchmarkUvarint/3-8 6.55 3.44 -47.48%
34 BenchmarkUvarint/3_large-8 6.54 2.86 -56.27%
35 BenchmarkUvarint/4-8 7.30 3.71 -49.18%
36 BenchmarkUvarint/4_large-8 7.46 3.10 -58.45%
37 BenchmarkUvarint/5-8 8.31 4.12 -50.42%
38 BenchmarkUvarint/5_large-8 8.56 3.48 -59.35%
39 BenchmarkUvarint/6-8 9.42 4.66 -50.53%
40 BenchmarkUvarint/6_large-8 9.91 4.07 -58.93%
41 BenchmarkUvarint/7-8 10.6 5.28 -50.19%
42 BenchmarkUvarint/7_large-8 11.0 4.70 -57.27%
43 BenchmarkUvarint/8-8 11.7 6.02 -48.55%
44 BenchmarkUvarint/8_large-8 12.1 5.19 -57.11%
45 BenchmarkUvarint/9-8 12.9 6.83 -47.05%
46 BenchmarkUvarint/9_large-8 13.1 5.71 -56.41%
47 .
48 It also provides additional functionality like UvarintSize (similar to
49 sov* in gogo/protobuf):
50 .
51 benchmark old ns/op new ns/op delta
52 BenchmarkUvarintSize/1-8 1.71 0.43 -74.85%
53 BenchmarkUvarintSize/2-8 2.56 0.57 -77.73%
54 BenchmarkUvarintSize/3-8 3.22 0.72 -77.64%
55 BenchmarkUvarintSize/4-8 3.74 0.72 -80.75%
56 BenchmarkUvarintSize/5-8 4.29 0.57 -86.71%
57 BenchmarkUvarintSize/6-8 4.85 0.58 -88.04%
58 BenchmarkUvarintSize/7-8 5.43 0.71 -86.92%
59 BenchmarkUvarintSize/8-8 6.01 0.86 -85.69%
60 BenchmarkUvarintSize/9-8 6.64 1.00 -84.94%