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

JuliaLang / julia / #38204
77%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2025 12:49PM UTC
Jobs 1
Files 305
Run time 1min
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

26 Aug 2025 10:51PM UTC coverage: 77.958% (-0.6%) from 78.544%
#38204

push

local

web-flow
System image compression with zstd (#59227)

Revived version of #48244, with a slightly different approach. This
version looks for a function pointer called `jl_image_unpack` inside
compiled system images and invokes it to get the `jl_image_buf_t`
struct. Two implementations, `jl_image_unpack_zstd` and
`jl_image_unpack_uncomp` are provided (for comparison). The zstd
compression is applied only to the heap image, and not the compiled
code, since that can be shared across Julia processes.

TODO: test a few different compression settings and enable by default.

Example data from un-trimmed juliac "hello world":
```
156M  hello-uncomp
 43M  hello-zstd
 48M  hello-zstd-1
 45M  hello-zstd-5
 43M  hello-zstd-15
 39M  hello-zstd-22

$ hyperfine -w3 ./hello-uncomp 
Benchmark 1: ./hello-uncomp
  Time (mean ± σ):      74.4 ms ±   0.8 ms    [User: 51.9 ms, System: 19.0 ms]
  Range (min … max):    73.0 ms …  76.6 ms    39 runs

$ hyperfine -w3 ./hello-zstd-1
Benchmark 1: ./hello-zstd-1
  Time (mean ± σ):     152.4 ms ±   0.5 ms    [User: 138.2 ms, System: 12.0 ms]
  Range (min … max):   151.4 ms … 153.2 ms    19 runs
 
$ hyperfine -w3 ./hello-zstd-5 
Benchmark 1: ./hello-zstd-5
  Time (mean ± σ):     154.3 ms ±   0.5 ms    [User: 139.6 ms, System: 12.4 ms]
  Range (min … max):   153.5 ms … 155.2 ms    19 runs

$ hyperfine -w3 ./hello-zstd-15
Benchmark 1: ./hello-zstd-15
  Time (mean ± σ):     135.9 ms ±   0.5 ms    [User: 121.6 ms, System: 12.0 ms]
  Range (min … max):   135.1 ms … 136.5 ms    21 runs
 
$ hyperfine -w3 ./hello-zstd-22
Benchmark 1: ./hello-zstd-22
  Time (mean ± σ):     149.0 ms ±   0.6 ms    [User: 134.7 ms, System: 12.1 ms]
  Range (min … max):   147.7 ms … 150.4 ms    19 runs
```

---------

Co-authored-by: Gabriel Baraldi <baraldigabriel@gmail.com>

1 of 2 new or added lines in 1 file covered. (50.0%)

572 existing lines in 47 files now uncovered.

48570 of 62303 relevant lines covered (77.96%)

10376254.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
59.59
-2.74% base/util.jl

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.0
-0.48% base/abstractdict.jl
1
89.18
-0.52% base/asyncevent.jl
1
81.25
-0.78% base/c.jl
1
86.69
-0.18% base/complex.jl
1
88.24
14.77% base/linking.jl
1
93.99
-0.14% base/range.jl
1
61.81
-0.69% base/ryu/utils.jl
1
75.84
-0.67% base/terminfo.jl
1
53.33
-6.67% base/traits.jl
1
48.52
-0.37% stdlib/Artifacts/src/Artifacts.jl
1
38.6
0.21% stdlib/FileWatching/src/FileWatching.jl
1
81.48
-0.93% stdlib/LibGit2/src/config.jl
1
71.05
0.0% stdlib/LLD_jll/src/LLD_jll.jl
1
88.89
0.25% stdlib/Profile/src/Profile.jl
1
95.03
0.14% stdlib/REPL/src/REPLCompletions.jl
2
49.26
-0.37% base/gmp.jl
2
58.41
-0.59% base/ryu/shortest.jl
2
91.01
-1.03% base/strings/basic.jl
2
98.22
-1.18% base/strings/unicode.jl
2
85.84
-0.88% base/version.jl
2
96.23
-0.22% stdlib/Test/src/Test.jl
3
46.5
1.86% base/binaryplatforms.jl
3
91.54
-1.49% base/operators.jl
4
74.02
0.47% base/loading.jl
4
78.73
-0.03% base/stream.jl
4
85.62
-0.96% stdlib/LibGit2/src/LibGit2.jl
5
90.48
-7.96% base/idset.jl
5
70.83
0.15% base/show.jl
5
92.58
-2.0% stdlib/LibGit2/src/types.jl
5
54.55
-36.36% stdlib/LibUnwind_jll/src/LibUnwind_jll.jl
6
49.47
-1.06% base/libdl.jl
6
2.78
0.0% base/options.jl
6
72.38
-5.5% base/secretbuffer.jl
8
92.21
-0.71% base/array.jl
10
64.57
-7.87% base/filesystem.jl
11
81.31
-10.28% base/div.jl
11
90.14
-7.75% stdlib/LibGit2/src/gitcredential.jl
12
34.55
-7.27% base/sysinfo.jl
17
72.93
-7.42% base/bitset.jl
19
80.12
-11.75% stdlib/InteractiveUtils/src/InteractiveUtils.jl
20
48.2
-6.56% base/int.jl
21
64.99
-4.81% base/file.jl
24
63.64
-4.94% stdlib/Sockets/src/Sockets.jl
43
64.14
-29.7% base/abstractset.jl
54
59.59
-2.74% base/util.jl
102
40.24
-41.46% stdlib/LibGit2/src/callbacks.jl
137
61.84
-33.05% base/set.jl
Jobs
ID Job ID Ran Files Coverage
1 #38204.1 27 Aug 2025 12:49PM UTC 305
77.96
Source Files on build #38204
  • Tree
  • List 305
  • Changed 71
  • Source Changed 0
  • Coverage Changed 71
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cbea8cf2 on github
  • Prev Build on master
  • Next Build on master
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