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

HazyResearch / deepdive / 2176
73%
master: 73%

Build:
Build:
LAST BUILD BRANCH: UNSTABLE
DEFAULT BRANCH: master
Ran 21 Dec 2015 08:39PM UTC
Jobs 1
Files 27
Run time 1s
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

pending completion
2176

push

travis-ci

netj
Compresses factor graph binary files with bzip2

when grounding, and decompresses on the fly with bzcat when running the
sampler.

This cuts a 2MB (2300279 bytes) factor graph down to 184kB (184224 bytes)
(one produced by the test with spouse_example/ddlog app) with negligible
impact on runtime (or even faster!).

```bash
groundingTime() {
    local log=$1
    tstart=$((sed -n '\@process/grounding/.*/dump@{ p; q; }' | awk '{print $2}') <$log)
    tend=$((sed -n '\@LEARNING EPOCH 0@{ p; q; }' | awk '{print $2}') <$log)
    echo $(date --date="$tend" +%s.%N) - $(date --date="$tstart" +%s.%N) | bc
}

$ # dump from database and load by sampler without compression
$ groundingTime test/postgresql/spouse_example/ddlog/run/20151221/040549.120506000/log.txt
3.363981000

$ # dump from database and load by sampler with compression
$ groundingTime test/postgresql/spouse_example/ddlog/run/20151221/034709.985065000/log.txt
3.319830000
```

Note that gzip has a 4GB limitation, so bzip2 was used despite its
higher computational cost.  xz may be another good candidate to consider.

1409 of 1934 relevant lines covered (72.85%)

0.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2176.1 21 Dec 2015 08:39PM UTC 0
72.85
Travis Job 2176.1
Source Files on build 2176
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2176
  • 2d7407c2 on github
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