• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dgraph-io / badger / 2574 / 2
61%
main: 61%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 09 Aug 2019 08:37AM UTC
Files 36
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Aug 2019 08:29AM UTC coverage: 78.782% (-0.2%) from 78.999%
2574.2

push

travis-ci

web-flow
Use pointers instead of binary encoding (#965)

The change improves encoding/decoding performance by **4X**. See https://gist.github.com/jarifibrahim/30237927ff3a4b200d4907c97bd93f41 
for benchmark code.
```
name                        time/op
EncodingSingle/Binary-16    4.02ns ± 1%
EncodingSingle/Slice-16     0.83ns ± 0%
Encodingu32Slice/Binary-16  9.52µs ± 1%
Encodingu32Slice/Slice-16   0.95ns ± 0%
```

The change also improves the performance of existing benchmarks.

```
name             old time/op  new time/op  delta
Read-16           153ms ± 1%   145ms ± 1%  -5.09%  (p=0.008 n=5+5)
ReadAndBuild-16   1.01s ± 1%   0.97s ± 3%  -4.04%  (p=0.008 n=5+5)
ReadMerged-16     980ms ± 1%   980ms ± 1%    ~     (p=1.000 n=5+5)
RandomRead-16    2.73µs ± 0%  2.65µs ± 1%  -2.73%  (p=0.008 n=5+5)
```

Inspired by https://github.com/coocood/badger/commit/0b03ef08d

5900 of 7489 relevant lines covered (78.78%)

76842.29 hits per line

Source Files on job 2574.2
  • Tree
  • List 0
  • Changed 24
  • Source Changed 9
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2319
  • Travis Job 2574.2
  • 2722a7c9 on github
  • Prev Job for on master (#2573.1)
  • Next Job for on master (#2580.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc