Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update readme badges #309

Merged
merged 1 commit into from
Oct 15, 2024
Merged

chore: Update readme badges #309

merged 1 commit into from
Oct 15, 2024

Conversation

popey
Copy link
Contributor

@popey popey commented Oct 15, 2024

Convert to html formatting, and switch out slack for discourse link.

Convert to html formatting, and switch out slack for discourse link.

Signed-off-by: Alan Pope <[email protected]>
Copy link

Benchmark Test Results

Benchmark results from the latest changes vs base branch
make .tool/task
make[1]: Entering directory '/home/runner/work/stereoscope/stereoscope'
make[1]: Leaving directory '/home/runner/work/stereoscope/stereoscope'
.tool/task show-benchstat
?   	github.com/anchore/stereoscope	[no test files]
?   	github.com/anchore/stereoscope/examples	[no test files]
PASS
ok  	github.com/anchore/stereoscope/internal	0.004s
?   	github.com/anchore/stereoscope/internal/bus	[no test files]
PASS
ok  	github.com/anchore/stereoscope/internal/containerd	0.007s
PASS
ok  	github.com/anchore/stereoscope/internal/docker	0.005s
?   	github.com/anchore/stereoscope/internal/log	[no test files]
PASS
ok  	github.com/anchore/stereoscope/internal/podman	0.005s
?   	github.com/anchore/stereoscope/pkg/event	[no test files]
?   	github.com/anchore/stereoscope/pkg/event/parsers	[no test files]
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/pkg/file
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkTarIndex-4   	   33451	     35984 ns/op	    5698 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   33242	     36155 ns/op	    5697 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   33367	     35954 ns/op	    5700 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   33366	     35876 ns/op	    5699 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   33356	     35735 ns/op	    5699 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   33414	     35933 ns/op	    5702 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   33129	     35886 ns/op	    5700 B/op	      93 allocs/op
PASS
ok  	github.com/anchore/stereoscope/pkg/file	10.950s
PASS
ok  	github.com/anchore/stereoscope/pkg/filetree	0.005s
?   	github.com/anchore/stereoscope/pkg/filetree/filenode	[no test files]
PASS
ok  	github.com/anchore/stereoscope/pkg/image	0.005s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/containerd	0.013s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/docker	0.005s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/oci	0.005s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/oci/credhelpers	0.005s
?   	github.com/anchore/stereoscope/pkg/image/podman	[no test files]
PASS
ok  	github.com/anchore/stereoscope/pkg/image/sif	0.004s
?   	github.com/anchore/stereoscope/pkg/imagetest	[no test files]
PASS
ok  	github.com/anchore/stereoscope/pkg/tree	0.003s
PASS
ok  	github.com/anchore/stereoscope/pkg/tree/node	0.004s
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/test/integration
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1065	   1129048 ns/op	  274840 B/op	    2326 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1063	   1203475 ns/op	  274493 B/op	    2325 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1064	   1132018 ns/op	  274373 B/op	    2325 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1068	   1114696 ns/op	  274188 B/op	    2324 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1058	   1143375 ns/op	  274004 B/op	    2324 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1070	   1185649 ns/op	  273890 B/op	    2324 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1071	   1105193 ns/op	  274032 B/op	    2324 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      58	  20245984 ns/op	  402847 B/op	    2702 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      54	  20730775 ns/op	  401574 B/op	    2700 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      58	  19492095 ns/op	  402044 B/op	    2702 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      58	  19883228 ns/op	  402011 B/op	    2700 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      54	  20074116 ns/op	  401928 B/op	    2700 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      63	  20172266 ns/op	  400858 B/op	    2699 allocs/op
BenchmarkSimpleImage_GetImage/podman-4         	      72	  19528131 ns/op	  400837 B/op	    2699 allocs/op
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 345B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load build context
#3 transferring context: 209B done
#3 DONE 0.0s

#4 [2/3] ADD file-2.txt /somefile-2.txt
#4 CACHED

#5 [1/3] ADD file-1.txt /somefile-1.txt
#5 CACHED

#6 [3/3] ADD target /
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 writing image sha256:3ca5c1f8f73245a3d5598ef28a854bccc9c9fc1a9efa1229bd4c87486bebc2a9 done
#7 naming to docker.io/library/stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7 done
#7 naming to docker.io/library/stereoscope-fixture-image-simple:latest done
#7 DONE 0.0s
ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
--- FAIL: BenchmarkSimpleImage_GetImage
    image_fixtures.go:193: using existing image tar: 'test-fixtures/cache/stereoscope-fixture-image-simple-04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7.tar' (size: 22528, modified: 2024-10-15 14:52:32.065329081 +0000 UTC, mode: -rw-r--r--)
    image_fixtures.go:241: Build docker image: name="stereoscope-fixture-image-simple" tag="04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7"
    image_fixtures.go:291: saveImage running: docker image save stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7
    image_fixtures.go:286: 
        	Error Trace:	/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:286
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:162
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:152
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:33
        	            				/home/runner/work/stereoscope/stereoscope/test/integration/fixture_image_simple_test.go:163
        	Error:      	Received unexpected error:
        	            	exit status 1
        	Test:       	BenchmarkSimpleImage_GetImage
        	Messages:   	could not import docker image to containerd (shell out)
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53581	     22322 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53629	     22300 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53518	     22204 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53220	     22319 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53512	     22247 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53554	     22271 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   53552	     22331 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   53680	     22363 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   53529	     22349 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   53640	     22315 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   53454	     22291 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   53710	     22267 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   53625	     22258 ns/op	    2712 B/op	      21 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/podman-4                 	   54051	     22180 ns/op	    2712 B/op	      21 allocs/op
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 345B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load build context
#3 transferring context: 209B done
#3 DONE 0.0s

#4 [1/3] ADD file-1.txt /somefile-1.txt
#4 CACHED

#5 [2/3] ADD file-2.txt /somefile-2.txt
#5 CACHED

#6 [3/3] ADD target /
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 writing image sha256:3ca5c1f8f73245a3d5598ef28a854bccc9c9fc1a9efa1229bd4c87486bebc2a9 done
#7 naming to docker.io/library/stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7 done
#7 naming to docker.io/library/stereoscope-fixture-image-simple:latest done
#7 DONE 0.0s
ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
--- FAIL: BenchmarkSimpleImage_FetchSquashedContents
    image_fixtures.go:193: using existing image tar: 'test-fixtures/cache/stereoscope-fixture-image-simple-04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7.tar' (size: 22528, modified: 2024-10-15 14:52:32.065329081 +0000 UTC, mode: -rw-r--r--)
    image_fixtures.go:241: Build docker image: name="stereoscope-fixture-image-simple" tag="04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7"
    image_fixtures.go:291: saveImage running: docker image save stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7
    image_fixtures.go:286: 
        	Error Trace:	/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:286
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:162
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:152
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:33
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:64
        	            				/home/runner/work/stereoscope/stereoscope/test/integration/fixture_image_simple_test.go:189
        	Error:      	Received unexpected error:
        	            	exit status 1
        	Test:       	BenchmarkSimpleImage_FetchSquashedContents
        	Messages:   	could not import docker image to containerd (shell out)
FAIL
exit status 1
FAIL	github.com/anchore/stereoscope/test/integration	39.366s
?   	github.com/anchore/stereoscope/test/integration/test-fixtures/registry	[no test files]
FAIL
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/pkg/file
cpu: AMD EPYC 7763 64-Core Processor                
ctr: 
           │ .tmp/benchmark-9a3e2f9.txt │
           │           sec/op           │
TarIndex-4                  35.93µ ± 1%

           │ .tmp/benchmark-9a3e2f9.txt │
           │            B/op            │
TarIndex-4                 5.565Ki ± 0%

           │ .tmp/benchmark-9a3e2f9.txt │
           │         allocs/op          │
TarIndex-4                   93.00 ± 0%

pkg: github.com/anchore/stereoscope/test/integration
                                      │ .tmp/benchmark-9a3e2f9.txt │
                                      │           sec/op           │
SimpleImage_GetImage/docker-archive-4                  1.132m ± 6%
SimpleImage_GetImage/podman-4                          20.07m ± 3%
geomean                                                4.767m

                                      │ .tmp/benchmark-9a3e2f9.txt │
                                      │            B/op            │
SimpleImage_GetImage/docker-archive-4                 267.8Ki ± 0%
SimpleImage_GetImage/podman-4                         392.5Ki ± 0%
geomean                                               324.2Ki

                                      │ .tmp/benchmark-9a3e2f9.txt │
                                      │         allocs/op          │
SimpleImage_GetImage/docker-archive-4                  2.324k ± 0%
SimpleImage_GetImage/podman-4                          2.700k ± 0%
geomean                                                2.505k

ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
                                                   │ .tmp/benchmark-9a3e2f9.txt │
                                                   │           sec/op           │
SimpleImage_FetchSquashedContents/docker-archive-4                  22.30µ ± 0%
SimpleImage_FetchSquashedContents/podman-4                          22.29µ ± 0%
geomean                                                             22.30µ

                                                   │ .tmp/benchmark-9a3e2f9.txt │
                                                   │            B/op            │
SimpleImage_FetchSquashedContents/docker-archive-4                 2.648Ki ± 0%
SimpleImage_FetchSquashedContents/podman-4                         2.648Ki ± 0%
geomean                                                            2.648Ki

                                                   │ .tmp/benchmark-9a3e2f9.txt │
                                                   │         allocs/op          │
SimpleImage_FetchSquashedContents/docker-archive-4                   21.00 ± 0%
SimpleImage_FetchSquashedContents/podman-4                           21.00 ± 0%
geomean                                                              21.00
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/pkg/file
cpu: AMD EPYC 7763 64-Core Processor                
ctr: 
           │ .tmp/benchmark-9a3e2f9.txt │
           │           sec/op           │
TarIndex-4                  35.93µ ± 1%

           │ .tmp/benchmark-9a3e2f9.txt │
           │            B/op            │
TarIndex-4                 5.565Ki ± 0%

           │ .tmp/benchmark-9a3e2f9.txt │
           │         allocs/op          │
TarIndex-4                   93.00 ± 0%

pkg: github.com/anchore/stereoscope/test/integration
                                      │ .tmp/benchmark-9a3e2f9.txt │
                                      │           sec/op           │
SimpleImage_GetImage/docker-archive-4                  1.132m ± 6%
SimpleImage_GetImage/podman-4                          20.07m ± 3%
geomean                                                4.767m

                                      │ .tmp/benchmark-9a3e2f9.txt │
                                      │            B/op            │
SimpleImage_GetImage/docker-archive-4                 267.8Ki ± 0%
SimpleImage_GetImage/podman-4                         392.5Ki ± 0%
geomean                                               324.2Ki

                                      │ .tmp/benchmark-9a3e2f9.txt │
                                      │         allocs/op          │
SimpleImage_GetImage/docker-archive-4                  2.324k ± 0%
SimpleImage_GetImage/podman-4                          2.700k ± 0%
geomean                                                2.505k

ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
                                                   │ .tmp/benchmark-9a3e2f9.txt │
                                                   │           sec/op           │
SimpleImage_FetchSquashedContents/docker-archive-4                  22.30µ ± 0%
SimpleImage_FetchSquashedContents/podman-4                          22.29µ ± 0%
geomean                                                             22.30µ

                                                   │ .tmp/benchmark-9a3e2f9.txt │
                                                   │            B/op            │
SimpleImage_FetchSquashedContents/docker-archive-4                 2.648Ki ± 0%
SimpleImage_FetchSquashedContents/podman-4                         2.648Ki ± 0%
geomean                                                            2.648Ki

                                                   │ .tmp/benchmark-9a3e2f9.txt │
                                                   │         allocs/op          │
SimpleImage_FetchSquashedContents/docker-archive-4                   21.00 ± 0%
SimpleImage_FetchSquashedContents/podman-4                           21.00 ± 0%
geomean                                                              21.00

@willmurphyscode willmurphyscode added the changelog-ignore Don't include this issue in the release changelog label Oct 15, 2024
@willmurphyscode willmurphyscode merged commit 9e57bce into main Oct 15, 2024
7 checks passed
@willmurphyscode willmurphyscode deleted the update-badges branch October 15, 2024 15:33
2rigor pushed a commit to 2rigor/stereoscope that referenced this pull request Oct 27, 2024
Convert to html formatting, and switch out slack for discourse link.

Signed-off-by: Alan Pope <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-ignore Don't include this issue in the release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants