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

benchmark: PR 5240 (nilnesserr) #39

Closed
ldez opened this issue Dec 19, 2024 · 1 comment
Closed

benchmark: PR 5240 (nilnesserr) #39

ldez opened this issue Dec 19, 2024 · 1 comment

Comments

@ldez
Copy link
Owner

ldez commented Dec 19, 2024

{
"pr": 5240,
"linter": "nilnesserr"
}

Copy link

The benchmark (Benchmark PR (new linter)) is done!

beego/beego

Command Mean [ms] Min [ms] Max [ms] Relative
nilnesserr 975.7 ± 17.5 951.6 1010.5 1.87 ± 0.05
goconst 522.4 ± 11.0 513.1 548.1 1.00
durationcheck 889.7 ± 36.1 842.7 958.1 1.70 ± 0.08

cilium/cilium

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 7.635 ± 0.086 7.494 7.722 2.52 ± 0.03
goconst 3.028 ± 0.021 3.001 3.073 1.00
durationcheck 6.019 ± 0.070 5.904 6.140 1.99 ± 0.03

spf13/cobra

Command Mean [ms] Min [ms] Max [ms] Relative
nilnesserr 369.0 ± 5.2 362.2 375.5 1.47 ± 0.05
goconst 251.3 ± 7.7 242.4 266.0 1.00
durationcheck 338.9 ± 3.0 334.2 343.9 1.35 ± 0.04

hashicorp/consul

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 5.799 ± 0.069 5.696 5.913 2.21 ± 0.03
goconst 2.620 ± 0.022 2.591 2.673 1.00
durationcheck 4.856 ± 0.049 4.792 4.911 1.85 ± 0.02

go-delve/delve

pkg/proc/stack.go:1061:3: return a nil value error after check error (nilnesserr)
		return nil, err
		^
pkg/proc/variables.go:1038:3: return a nil value error after check error (nilnesserr)
		return nil, err
		^
Command Mean [s] Min [s] Max [s] Relative
nilnesserr 1.134 ± 0.077 1.090 1.346 2.06 ± 0.15
goconst 0.549 ± 0.016 0.531 0.591 1.00
durationcheck 0.893 ± 0.009 0.874 0.907 1.63 ± 0.05

etcd-io/etcd

Command Mean [ms] Min [ms] Max [ms] Relative
nilnesserr 606.2 ± 11.9 592.9 633.1 1.79 ± 0.14
goconst 338.3 ± 25.1 325.6 408.6 1.00
durationcheck 590.3 ± 8.3 578.8 602.2 1.75 ± 0.13

go-gitea/gitea

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 4.280 ± 0.144 4.196 4.676 2.35 ± 0.08
goconst 1.818 ± 0.017 1.795 1.848 1.00
durationcheck 3.481 ± 0.052 3.404 3.606 1.92 ± 0.03

google/go-github

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 2.049 ± 0.037 2.011 2.131 2.67 ± 0.06
goconst 0.768 ± 0.008 0.759 0.787 1.00
durationcheck 1.735 ± 0.038 1.689 1.801 2.26 ± 0.05

golangci/golangci-lint

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 1.124 ± 0.017 1.100 1.150 1.87 ± 0.06
goconst 0.599 ± 0.016 0.587 0.640 1.00
durationcheck 1.051 ± 0.014 1.027 1.069 1.75 ± 0.05

goreleaser/goreleaser

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 1.874 ± 0.017 1.849 1.895 2.30 ± 0.03
goconst 0.814 ± 0.006 0.805 0.824 1.00
durationcheck 1.756 ± 0.091 1.690 2.006 2.16 ± 0.11

grpc/grpc-go

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 2.066 ± 0.129 1.976 2.418 2.19 ± 0.14
goconst 0.942 ± 0.007 0.932 0.954 1.00
durationcheck 1.587 ± 0.020 1.566 1.622 1.68 ± 0.02

gohugoio/hugo

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 2.595 ± 0.056 2.554 2.748 2.90 ± 0.07
goconst 0.895 ± 0.009 0.880 0.904 1.00
durationcheck 2.327 ± 0.029 2.297 2.397 2.60 ± 0.04

kubernetes/kubernetes

test/e2e/framework/kubelet/stats.go:328:3: return a nil value error after check error (nilnesserr)
		return "", err
		^
Command Mean [s] Min [s] Max [s] Relative
nilnesserr 12.375 ± 0.120 12.157 12.552 2.18 ± 0.03
goconst 5.676 ± 0.055 5.618 5.772 1.00
durationcheck 9.560 ± 0.093 9.460 9.761 1.68 ± 0.02

go-acme/lego

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 2.309 ± 0.114 2.207 2.521 2.44 ± 0.13
goconst 0.946 ± 0.016 0.919 0.967 1.00
durationcheck 1.982 ± 0.039 1.925 2.051 2.10 ± 0.05

pact-foundation/pact-go

Command Mean [ms] Min [ms] Max [ms] Relative
nilnesserr 491.5 ± 5.8 485.9 500.0 1.69 ± 0.03
goconst 290.4 ± 4.0 286.5 298.9 1.00
durationcheck 459.4 ± 5.5 449.9 468.3 1.58 ± 0.03

rclone/rclone

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 2.850 ± 0.041 2.790 2.928 2.17 ± 0.04
goconst 1.315 ± 0.018 1.284 1.347 1.00
durationcheck 2.336 ± 0.023 2.299 2.369 1.78 ± 0.03

hashicorp/terraform

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 3.676 ± 0.034 3.631 3.726 2.29 ± 0.04
goconst 1.606 ± 0.020 1.570 1.638 1.00
durationcheck 3.081 ± 0.033 3.027 3.129 1.92 ± 0.03

traefik/traefik

Command Mean [s] Min [s] Max [s] Relative
nilnesserr 3.572 ± 0.108 3.442 3.830 2.91 ± 0.09
goconst 1.227 ± 0.009 1.218 1.247 1.00
durationcheck 3.227 ± 0.025 3.195 3.277 2.63 ± 0.03

You can find the workflow here:
https://github.com/ldez/golangci-lint-bench/actions/runs/12415142855

@ldez ldez closed this as completed Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant