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

dgraph-io / badger / 3381
61%
main: 61%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 28 Nov 2019 05:30PM CUT
Jobs 4
Files 293
Run time 13min
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

28 Nov 2019 05:19PM CUT coverage: 77.588% (+0.04%) from 77.55%
3381

push

travis-ci

web-flow
Optimize createTable in stream_writer.go (#1132)

In createTable method of StreamWriter we are calling levelHandler.replaceTables method. This method adds table to leveHandler tables and sorts table based on table.Smallest. This sorting is required if we are adding tables and also querying Badger. In StreamWriter we just write data and hence we can avoid sorting on every addition of table. After we are done adding all tables, we can sort tables on all levels based on table.Smallest.
This creates huge difference in case of large number of streams. I tested it on 100,000 streams
time, to completely run stream writer on master was ~38 minutes vs ~6 minuntes on this PR.

46669 of 60150 relevant lines covered (77.59%)

312278.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3381.1 28 Nov 2019 05:30PM CUT 0
77.53
Travis Job 3381.1
2 3381.2 28 Nov 2019 05:31PM CUT 0
77.57
Travis Job 3381.2
3 3381.3 28 Nov 2019 05:42PM CUT 0
77.65
Travis Job 3381.3
4 3381.4 28 Nov 2019 05:43PM CUT 0
77.47
Travis Job 3381.4
Source Files on build 3381
  • List 0
  • Changed 25
  • Source Changed 4
  • Coverage Changed 25
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #3381
  • 407e5bde on github
  • Prev Build on master (#3365)
  • Next Build on master (#3395)
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

© 2025 Coveralls, Inc