153 Commits

Author SHA1 Message Date
c8405557a4 Remove Go1.6 support (#1492) 2017-10-04 13:57:10 -07:00
8230f98ef7 benchmark: add type assertion benchmarks (#1556) 2017-10-03 13:03:49 -07:00
8214c28a62 Make IO Buffer size configurable. (#1544)
* Make IO Buffer size configurable.

* Fixing typo
2017-09-28 14:11:14 -07:00
a68137c927 Revert "Added localhost to net.Listen() calls to avoid macOS firewall dialog." (#1541)
This reverts commit c67cd636f91e849f8677733bcdd60ea8c15d4aa6.
2017-09-27 00:01:17 -07:00
c67cd636f9 Added localhost to net.Listen() calls to avoid macOS firewall dialog. (#1539) 2017-09-26 10:19:45 -07:00
d4b75ebd4f benchmark: add primivites benchmark for Unlocking via defer vs. inline (#1534) 2017-09-21 12:46:03 -07:00
1253dac14b benchmain: format output of benchmark to a table (#1493) 2017-09-20 15:06:19 -07:00
dce316936b Move primitives benchmarks to package primitives_test (#1522) 2017-09-19 16:43:00 -07:00
c443156028 benchmark: add primitives benchmarks for informational purposes (#1501) 2017-09-11 10:49:50 -07:00
d6870035ab Check "x/net/context" with go vet like "context" (#1490)
* Check "x/net/context" with `go vet` like "context"

Includes a signficant revamp of .travis.yml to execute a separate script for
all of the things we check before allowing a merge.

* fix bug in benchmain
2017-08-29 15:40:57 -07:00
85a1e381f1 benchmain: add nop compressor and other usability tweaks (#1489) 2017-08-29 11:41:55 -07:00
7fd9c2c66f benchmain: minor bug fixes (#1488) 2017-08-29 10:55:39 -07:00
051e7013db add comment (#1464) 2017-08-25 13:09:52 -07:00
7db1564ba1 benchmark: add benchmain/main.go to run benchmark with flag set (#1352) 2017-08-24 10:08:43 -07:00
25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
53ae6b7e90 Fix typo 2017-08-03 16:08:13 -07:00
66c9ed803b Add flags for tls file path (#1419) 2017-08-03 15:23:02 -07:00
4c7bb72916 benchmark: don't stop timer until after workers are done (#1407) 2017-07-31 11:36:28 -07:00
ca9e0c3458 Add testdata package and unify testdata to only one dir (#1297) 2017-07-25 10:24:45 -07:00
6495e8dfeb benchmark: remove multi-layer for loop (#1339) 2017-07-21 13:39:06 -07:00
9cb02b885b latency: sleep in Write when BDP is exceeded to avoid buffer bloat (#1330) 2017-06-26 16:20:44 -07:00
f0c566b827 benchmark: add latency/MTU/bandwidth into testcases (#1304) 2017-06-23 14:22:51 -07:00
a94a7ac054 add license for some files (#1296) 2017-06-12 18:10:06 -07:00
ba30de56b8 use subtests for the benchmark_test and add it into the Makefile (#1278)
* use subtests for the benchmark_test and add it into the Makefile

* benchmark: keep the original benchmark_test as version 16. use subtests benchmark as 17
2017-06-12 14:52:33 -07:00
cfd21dac77 Create latency package for realistically simulating network latency (#1286) 2017-06-09 09:24:50 -07:00
ddbf6c46a6 autofix license notice 2017-06-08 14:42:19 +02:00
6bb76488de add MaxConcurrentStreams to benchmark_test when start the server (#1271) 2017-05-31 14:15:37 -07:00
3773797869 Travis: add staticcheck (#1019)
Also only run golint and go vet in Go 1.8, and fix some vet failures.
2017-05-15 17:05:27 -07:00
ee8ed34bcf get more metrics from go benchmark servers (#913)
* add user and system cpu usage to go benchmarks

* fix import and style issues

* sample elapsed time diffs after merging histograms

* style fixes and variables renames

* add pprof server to benchmark workers to grab different profile stats

* rename variables for consistency and default to no pprof
2017-04-03 15:53:03 -07:00
bcc367f343 get rid of extra payload local variable 2017-02-09 16:16:18 -08:00
a0bd789da9 fix wording 2017-02-09 16:12:53 -08:00
47b25d4b97 remove proto object allocs on streaming benchmark server 2016-12-21 11:28:07 -08:00
883bfc7bc8 pb.go file update 2016-10-28 12:37:56 -07:00
727a60e4d1 update server reflection code to comply with the change to the grpc generator 2016-10-21 18:06:55 -07:00
388da4269c remove inner goroutines around individual sends and receives in benchmark client
streams
2016-10-07 14:57:42 -07:00
2ac2b966a8 Fix histogram clear() 2016-08-10 14:31:48 -07:00
9aa8038716 *: gofmt/goimports simplify 2016-07-27 23:38:28 -04:00
a6bacfe42c Fix go vet 2016-06-29 13:36:10 -07:00
abe672d5ed Update generated files 2016-06-10 14:20:04 -07:00
0da018f37e Update generated files 2016-06-09 15:02:17 -07:00
de5d3de2fe Disable grpc tracing in benchmark 2016-05-17 14:06:45 -07:00
b564fc98e0 Merge pull request #677 from menghanl/multiple_histogram
Multiple histogram
2016-05-17 13:47:24 -07:00
613465d739 Use pointer receiver for locking histogram 2016-05-17 11:08:03 -07:00
71a11ef208 Wrap for lockingHistogram.add swap mergeInto 2016-05-17 10:59:28 -07:00
551c49844f Specify cap of slices 2016-05-16 18:30:58 -07:00
6c97293712 Use a struct of mutex and histogram in client 2016-05-16 18:29:06 -07:00
8ca2706d37 Address review comments 2016-05-16 18:28:16 -07:00
577b4b0d4c Address review comments 2016-05-13 10:36:50 -07:00
7bb7ec5e30 Reset lastResetTime after merging histograms 2016-05-13 10:01:46 -07:00
8bdfd5961d Set number of cores explicitly if it is not specified and add TODO for core list 2016-05-12 15:03:42 -07:00