Node benchmarking utility #13802
reviewdog.yml
on: pull_request
reviewdog-errors
1m 29s
reviewdog-warnings
1m 27s
reviewdog-shellcheck
13s
Annotations
10 errors and 4 warnings
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L104
[Lint Errors] reported by reviewdog 🐶
Error return value of `syscall.Getrusage` is not checked (errcheck)
Raw Output:
cmd/catchpointdump/bench_report.go:104:19: Error return value of `syscall.Getrusage` is not checked (errcheck)
syscall.Getrusage(syscall.RUSAGE_SELF, usage)
^
|
reviewdog-errors:
cmd/catchpointdump/bench.go#L36
[Lint Errors] reported by reviewdog 🐶
var-naming: var reportJsonPath should be reportJSONPath (revive)
Raw Output:
cmd/catchpointdump/bench.go:36:5: var-naming: var reportJsonPath should be reportJSONPath (revive)
var reportJsonPath string
^
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L13
[Lint Errors] reported by reviewdog 🐶
dot-imports: should not use dot imports (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:13:2: dot-imports: should not use dot imports (revive)
. "github.com/klauspost/cpuid/v2"
^
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L55
[Lint Errors] reported by reviewdog 🐶
receiver-naming: receiver name bs should be consistent with previous receiver name s for benchStage (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:55:1: receiver-naming: receiver name bs should be consistent with previous receiver name s for benchStage (revive)
func (bs *benchStage) String() string {
return fmt.Sprintf(">> stage:%s duration_sec:%.1f duration_min:%.1f cpu_sec:%d", bs.stage, bs.duration.Seconds(), bs.duration.Minutes(), bs.cpuTimeNS/1000000000)
}
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L120
[Lint Errors] reported by reviewdog 🐶
receiver-naming: receiver name bs should be consistent with previous receiver name s for benchStage (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:120:1: receiver-naming: receiver name bs should be consistent with previous receiver name s for benchStage (revive)
func (bs *benchStage) completeStage() {
bs.duration = time.Since(bs.start)
bs.completed = true
bs.cpuTimeNS = GetCPU() - bs.cpuTimeNS
}
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L102
[Lint Errors] reported by reviewdog 🐶
exported: exported function GetCPU should have comment or be unexported (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:102:1: exported: exported function GetCPU should have comment or be unexported (revive)
func GetCPU() int64 {
^
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L25
[Lint Errors] reported by reviewdog 🐶
var-naming: struct field CpuCoreCnt should be CPUCoreCnt (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:25:2: var-naming: struct field CpuCoreCnt should be CPUCoreCnt (revive)
CpuCoreCnt int `json:"cores"`
^
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L26
[Lint Errors] reported by reviewdog 🐶
var-naming: struct field CpuLogicalCnt should be CPULogicalCnt (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:26:2: var-naming: struct field CpuLogicalCnt should be CPULogicalCnt (revive)
CpuLogicalCnt int `json:"log_cores"`
^
|
reviewdog-errors:
cmd/catchpointdump/bench_report.go#L27
[Lint Errors] reported by reviewdog 🐶
var-naming: struct field CpuBaseMHz should be CPUBaseMHz (revive)
Raw Output:
cmd/catchpointdump/bench_report.go:27:2: var-naming: struct field CpuBaseMHz should be CPUBaseMHz (revive)
CpuBaseMHz int64 `json:"base_mhz"`
^
|
reviewdog-errors
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
reviewdog-shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
reviewdog-shellcheck
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
reviewdog-warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
reviewdog-errors
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|