@@ -14,23 +14,59 @@ To tackle this problem, we have developed the Garbage Collector Control Intercep
14
14
* SO: Ubuntu 16.04.3 LTS (xenial)
15
15
* Server: 4GB RAM, 2 vCPUs (amd64), 2397.222 MHz (4794.44 bogomips), 4096 KB cache size
16
16
17
- ** Results: Go 1.8**
17
+ ** Results: Go 1.8.5 **
18
18
19
19
``` sh
20
- ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ go test -bench=_NoGCI -benchtime=5s
21
- BenchmarkMessagePush_NoGCI1KB-2 30000 248985 ns/op 4.11 MB/s
22
- BenchmarkMessagePush_NoGCI10KB-2 30000 285606 ns/op 35.85 MB/s
23
- BenchmarkMessagePush_NoGCI100KB-2 20000 384649 ns/op 266.22 MB/s
24
- BenchmarkMessagePush_NoGCI1MB-2 10000 1246398 ns/op 841.28 MB/s
20
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ gvm install go1.8.5
21
+ Installing go1.8.5...
22
+ * Compiling...
23
+ go1.8.5 successfully installed!
24
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ gvm use go1.8.5
25
+ Now using version go1.8.5
26
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ export GOPATH=; go test -bench=_GCI -benchtime=5s
27
+ BenchmarkMessagePush_GCI1KB-2 30000 237353 ns/op 4.31 MB/s
28
+ BenchmarkMessagePush_GCI10KB-2 30000 250845 ns/op 40.82 MB/s
29
+ BenchmarkMessagePush_GCI100KB-2 20000 328557 ns/op 311.67 MB/s
30
+ BenchmarkMessagePush_GCI1MB-2 10000 1078595 ns/op 972.17 MB/s
25
31
PASS
26
- ok github.com/gcinterceptor/gci-go/gccontrol 51.154s
27
- ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ go test -bench=_GCI -benchtime=5s
28
- BenchmarkMessagePush_GCI1KB -2 30000 236893 ns/op 4.32 MB/s
29
- BenchmarkMessagePush_GCI10KB -2 30000 267992 ns/op 38.21 MB/s
30
- BenchmarkMessagePush_GCI100KB -2 20000 319646 ns/op 320.35 MB/s
31
- BenchmarkMessagePush_GCI1MB -2 10000 1039922 ns/op 1008.32 MB/s
32
+ ok github.com/gcinterceptor/gci-go/gccontrol 46.677s
33
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ export GOPATH= ; go test -bench=_NoGCI -benchtime=5s
34
+ BenchmarkMessagePush_NoGCI1KB -2 30000 251491 ns/op 4.07 MB/s
35
+ BenchmarkMessagePush_NoGCI10KB -2 30000 281357 ns/op 36.40 MB/s
36
+ BenchmarkMessagePush_NoGCI100KB -2 20000 384976 ns/op 265.99 MB/s
37
+ BenchmarkMessagePush_NoGCI1MB -2 5000 1217423 ns/op 861.31 MB/s
32
38
PASS
33
- ok github.com/gcinterceptor/gci-go/gccontrol 46.701s
39
+ ok github.com/gcinterceptor/gci-go/gccontrol 44.613s
40
+ ```
41
+
42
+ ** Results: Go 1.9.2**
43
+ ``` sh
44
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ gvm install go1.9.2
45
+ Installing go1.9.2...
46
+ * Compiling...
47
+ go1.9.2 successfully installed!
48
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ gvm use go1.9.2
49
+ Now using version go1.9.2
50
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ export GOPATH=; go test -bench=_GCI -benchtime=5s
51
+ goos: linux
52
+ goarch: amd64
53
+ pkg: github.com/gcinterceptor/gci-go/gccontrol
54
+ BenchmarkMessagePush_GCI1KB-2 30000 256774 ns/op 3.99 MB/s
55
+ BenchmarkMessagePush_GCI10KB-2 30000 258927 ns/op 39.55 MB/s
56
+ BenchmarkMessagePush_GCI100KB-2 20000 332151 ns/op 308.29 MB/s
57
+ BenchmarkMessagePush_GCI1MB-2 10000 1007804 ns/op 1040.46 MB/s
58
+ PASS
59
+ ok github.com/gcinterceptor/gci-go/gccontrol 45.133s
60
+ ubuntu@msgpush:~ /go/src/github.com/gcinterceptor/gci-go/gccontrol$ export GOPATH=; go test -bench=_NoGCI -benchtime=5s
61
+ goos: linux
62
+ goarch: amd64
63
+ pkg: github.com/gcinterceptor/gci-go/gccontrol
64
+ BenchmarkMessagePush_NoGCI1KB-2 30000 261262 ns/op 3.92 MB/s
65
+ BenchmarkMessagePush_NoGCI10KB-2 30000 270696 ns/op 37.83 MB/s
66
+ BenchmarkMessagePush_NoGCI100KB-2 20000 376812 ns/op 271.75 MB/s
67
+ BenchmarkMessagePush_NoGCI1MB-2 10000 1210644 ns/op 866.13 MB/s
68
+ PASS
69
+ ok github.com/gcinterceptor/gci-go/gccontrol 50.135s
34
70
```
35
71
36
72
## Installing GCI
0 commit comments