-
Notifications
You must be signed in to change notification settings - Fork 0
/
benchmarkQuickSort.log
53 lines (50 loc) · 2.37 KB
/
benchmarkQuickSort.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
goos: darwin
goarch: amd64
pkg: github.com/dkhrunov/dsa-go/sorting
cpu: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
BenchmarkQuickSort/QuickSort-100-8 44726 26371 ns/op 0 B/op 0 allocs/op
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [chan receive]:
testing.(*B).run1(0xc000132000)
/usr/local/go/src/testing/benchmark.go:235 +0xb2
testing.(*B).Run(0xc000132240, {0x113078c?, 0x648b8088?}, 0x1138d50)
/usr/local/go/src/testing/benchmark.go:676 +0x445
testing.runBenchmarks.func1(0xc000132240?)
/usr/local/go/src/testing/benchmark.go:550 +0x6e
testing.(*B).runN(0xc000132240, 0x1)
/usr/local/go/src/testing/benchmark.go:193 +0x102
testing.runBenchmarks({0x1134af7, 0x22}, 0x1248520?, {0x1210ec0, 0x1, 0x40?})
/usr/local/go/src/testing/benchmark.go:559 +0x418
testing.(*M).Run(0xc000000140)
/usr/local/go/src/testing/testing.go:1733 +0x811
main.main()
_testmain.go:69 +0x1aa
goroutine 8 [chan receive]:
testing.(*B).run1(0xc0001326c0)
/usr/local/go/src/testing/benchmark.go:235 +0xb2
testing.(*B).Run(0xc000132000, {0xc00001a0f0?, 0xc000121ef0?}, 0xc00012a060)
/usr/local/go/src/testing/benchmark.go:676 +0x445
github.com/dkhrunov/dsa-go/sorting.BenchmarkQuickSort(0xc000132000?)
/Users/denishrunov/Programming/go/dsa-go/sorting/quick_sort_benchmark_test.go:26 +0x148
testing.(*B).runN(0xc000132000, 0x1)
/usr/local/go/src/testing/benchmark.go:193 +0x102
testing.(*B).run1.func1()
/usr/local/go/src/testing/benchmark.go:233 +0x59
created by testing.(*B).run1
/usr/local/go/src/testing/benchmark.go:226 +0x9c
goroutine 9 [chan send]:
github.com/dkhrunov/dsa-go/sorting.quickSortParallel[...]({0xc00018e000, 0x64?, 0x64}, 0x0, 0x63, 0x1138d48, 0x103a0b8)
/Users/denishrunov/Programming/go/dsa-go/sorting/quick_sort.go:42 +0x235
github.com/dkhrunov/dsa-go/sorting.QuickSortParallel[...]({0xc00018e000, 0x64, 0x64}, 0xc000189f00)
/Users/denishrunov/Programming/go/dsa-go/sorting/quick_sort.go:23 +0x78
github.com/dkhrunov/dsa-go/sorting.BenchmarkQuickSort.func2(0xc0001326c0)
/Users/denishrunov/Programming/go/dsa-go/sorting/quick_sort_benchmark_test.go:28 +0x50
testing.(*B).runN(0xc0001326c0, 0x1)
/usr/local/go/src/testing/benchmark.go:193 +0x102
testing.(*B).run1.func1()
/usr/local/go/src/testing/benchmark.go:233 +0x59
created by testing.(*B).run1
/usr/local/go/src/testing/benchmark.go:226 +0x9c
exit status 2
FAIL github.com/dkhrunov/dsa-go/sorting 2.034s
FAIL