perf: use buffered output #117
Annotations
1 error and 1 warning
No benchmark result was found in /home/runner/work/MIMO/MIMO/bin/benchstats.txt. Benchmark output was '? github.com/cgi-fr/mimo/cmd/mimo [no test files]
PASS
ok github.com/cgi-fr/mimo/internal/infra 0.011s
panic: runtime error: invalid memory address or nil pointer dereference
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x52f5f2]
goroutine 21 [running]:
bufio.(*Writer).Flush(0x0?)
/usr/local/go/src/bufio/bufio.go:636 +0x12
github.com/cgi-fr/mimo/internal/infra.(*DataRowReaderJSONLine).Flush(0xc0000f7750?)
/workspace/internal/infra/datarowreader_jsonline.go:97 +0x17
panic({0xc17a20?, 0x1328c40?})
/usr/local/go/src/runtime/panic.go:914 +0x21f
bufio.(*Writer).Available(...)
/usr/local/go/src/bufio/bufio.go:659
bufio.(*Writer).Write(0x0, {0xc000000000?, 0x488285?, 0xbc1940?})
/usr/local/go/src/bufio/bufio.go:677 +0x4e
github.com/cgi-fr/mimo/internal/infra.(*DataRowReaderJSONLine).ReadDataRowAndWrite(0xc00003e030)
/workspace/internal/infra/datarowreader_jsonline.go:75 +0x88
github.com/cgi-fr/mimo/pkg/mimo.(*Driver).Analyze(0xc0000f7dd0)
/workspace/pkg/mimo/driver.go:61 +0x1cb
github.com/cgi-fr/mimo/pkg/mimo_test.BenchmarkInMemory(0xc00029a780)
/workspace/pkg/mimo/benchmark_test.go:61 +0x425
testing.(*B).runN(0xc00029a780, 0x1)
/usr/local/go/src/testing/benchmark.go:193 +0x102
testing.(*B).run1.func1()
/usr/local/go/src/testing/benchmark.go:233 +0x4e
created by testing.(*B).run1 in goroutine 1
/usr/local/go/src/testing/benchmark.go:226 +0x90
exit status 2
FAIL github.com/cgi-fr/mimo/pkg/mimo 0.011s
FAIL
'
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading