29 lines
1.5 KiB
Plaintext
29 lines
1.5 KiB
Plaintext
goos: linux
|
|
goarch: amd64
|
|
pkg: squiz/tests
|
|
cpu: Intel(R) Core(TM) i3-6100H CPU @ 2.70GHz
|
|
BenchmarkQuizCreation-4 211 7806501 ns/op 3526 B/op 51 allocs/op
|
|
BenchmarkQuestionCreation-4 206 6187312 ns/op 2759 B/op 40 allocs/op
|
|
BenchmarkQuestionHistory-4 146 7057323 ns/op 3339 B/op 44 allocs/op
|
|
BenchmarkQuizCopy-4 98 14264658 ns/op 11907 B/op 167 allocs/op
|
|
BenchmarkQuestionDuplicate-4 183 6418405 ns/op 1535 B/op 32 allocs/op
|
|
BenchmarkQuestionCopy-4 211 6203381 ns/op 1457 B/op 31 allocs/op
|
|
BenchmarkQuiznArchiving-4 201 6179325 ns/op 686 B/op 15 allocs/op
|
|
BenchmarkQuizHistory-4 262 5225611 ns/op 2484 B/op 45 allocs/op
|
|
BenchmarkQuizDeleting-4 192 6523611 ns/op 2196 B/op 43 allocs/op
|
|
panic: runtime error: invalid memory address or nil pointer dereference
|
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xd815d3]
|
|
|
|
goroutine 445 [running]:
|
|
squiz/dal.(*DAL).GetQuizByQid(_, {_, _}, {_, _})
|
|
/home/skeris/go/src/github.com/skeris/squiz/dal/quiz.go:226 +0x533
|
|
squiz/tests.BenchmarkQuizGetByQid.func1(0xc00003ab40)
|
|
/home/skeris/go/src/github.com/skeris/squiz/tests/dalbench_test.go:292 +0x14b
|
|
testing.(*B).RunParallel.func1()
|
|
/snap/go/current/src/testing/benchmark.go:788 +0xcb
|
|
created by testing.(*B).RunParallel
|
|
/snap/go/current/src/testing/benchmark.go:781 +0x105
|
|
exit status 2
|
|
FAIL squiz/tests 17.522s
|
|
FAIL
|