Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wagoodman
Copy link
Contributor

Remediates the following GHSAs:

@github-actions
Copy link

github-actions bot commented Dec 3, 2021

Benchmark Test Results

Benchmark results from the latest changes vs base branch
name                                                  old time/op    new time/op    delta
pkg:github.com/anchore/stereoscope/pkg/file goos:linux goarch:amd64
TarIndex-2                                              49.2µs ± 3%    57.0µs ± 3%  +15.80%  (p=0.029 n=4+4)
pkg:github.com/anchore/stereoscope/test/integration goos:linux goarch:amd64
SimpleImage_GetImage/FromTarball-2                      1.69ms ± 7%    1.95ms ± 5%  +14.86%  (p=0.008 n=5+5)
SimpleImage_GetImage/FromOciTarball-2                   1.48ms ±14%    1.71ms ± 8%  +15.32%  (p=0.032 n=5+5)
SimpleImage_GetImage/FromOciDirectory-2                  911µs ± 6%    1093µs ± 9%  +19.94%  (p=0.008 n=5+5)
SimpleImage_FetchSquashedContents/FromTarball-2         20.5µs ± 0%    25.1µs ± 3%  +22.22%  (p=0.016 n=4+5)
SimpleImage_FetchSquashedContents/FromOciTarball-2      20.9µs ± 5%    24.7µs ± 1%  +17.86%  (p=0.008 n=5+5)
SimpleImage_FetchSquashedContents/FromOciDirectory-2    20.7µs ± 1%    24.0µs ± 3%  +16.05%  (p=0.008 n=5+5)

name                                                  old alloc/op   new alloc/op   delta
pkg:github.com/anchore/stereoscope/pkg/file goos:linux goarch:amd64
TarIndex-2                                              8.38kB ± 0%    8.38kB ± 0%     ~     (p=1.000 n=4+4)
pkg:github.com/anchore/stereoscope/test/integration goos:linux goarch:amd64
SimpleImage_GetImage/FromTarball-2                       365kB ± 0%     360kB ± 0%   -1.38%  (p=0.008 n=5+5)
SimpleImage_GetImage/FromOciTarball-2                    611kB ± 0%     611kB ± 0%     ~     (p=0.841 n=5+5)
SimpleImage_GetImage/FromOciDirectory-2                  371kB ± 0%     371kB ± 0%     ~     (p=0.548 n=5+5)
SimpleImage_FetchSquashedContents/FromTarball-2         2.59kB ± 0%    2.59kB ± 0%     ~     (all equal)
SimpleImage_FetchSquashedContents/FromOciTarball-2      2.59kB ± 0%    2.59kB ± 0%     ~     (all equal)
SimpleImage_FetchSquashedContents/FromOciDirectory-2    2.59kB ± 0%    2.59kB ± 0%     ~     (all equal)

name                                                  old allocs/op  new allocs/op  delta
pkg:github.com/anchore/stereoscope/pkg/file goos:linux goarch:amd64
TarIndex-2                                                 205 ± 0%       205 ± 0%     ~     (all equal)
pkg:github.com/anchore/stereoscope/test/integration goos:linux goarch:amd64
SimpleImage_GetImage/FromTarball-2                       4.46k ± 0%     4.29k ± 0%   -3.90%  (p=0.008 n=5+5)
SimpleImage_GetImage/FromOciTarball-2                    1.84k ± 0%     1.84k ± 0%     ~     (all equal)
SimpleImage_GetImage/FromOciDirectory-2                  1.48k ± 0%     1.48k ± 0%     ~     (all equal)
SimpleImage_FetchSquashedContents/FromTarball-2           21.0 ± 0%      21.0 ± 0%     ~     (all equal)
SimpleImage_FetchSquashedContents/FromOciTarball-2        21.0 ± 0%      21.0 ± 0%     ~     (all equal)
SimpleImage_FetchSquashedContents/FromOciDirectory-2      21.0 ± 0%      21.0 ± 0%     ~     (all equal)

@wagoodman wagoodman requested a review from a team December 3, 2021 16:01
@wagoodman wagoodman self-assigned this Dec 3, 2021
@wagoodman wagoodman enabled auto-merge (squash) December 3, 2021 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants