Skip to content

loop performance optimizations #5539

loop performance optimizations

loop performance optimizations #5539

Triggered via pull request November 4, 2024 12:34
Status Failure
Total duration 16m 35s
Artifacts

go-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build + tests: pkg/appsec/appsec_rule/modsecurity.go#L105
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/appsec/appsec_rule/modsecurity.go#L117
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/acquisition/modules/docker/docker.go#L296
rangeValCopy: each iteration copies 224 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/acquisition/modules/docker/docker.go#L497
rangeValCopy: each iteration copies 224 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/dumps/parser_dump.go#L84
rangeValCopy: each iteration copies 392 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/dumps/parser_dump.go#L130
rangeValCopy: each iteration copies 392 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/dumps/parser_dump.go#L149
rangeValCopy: each iteration copies 376 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/exprhelpers/debugger.go#L346
rangeValCopy: each iteration copies 176 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/appsec/appsec_rules_collection.go#L53
rangeValCopy: each iteration copies 184 bytes (consider pointers or indexing) (gocritic)
Build + tests: pkg/appsec/appsec_rules_collection.go#L102
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)