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
0dc39fe27f
Golint and histogram opts compare
2016-05-11 17:57:59 -07:00
423a9dea78
Change getStats to do reseting if required.
2016-05-11 17:20:16 -07:00
9521f8ddae
Change RWMutex to Mutex
2016-05-11 12:02:39 -07:00
e1243883d6
Merge histograms into one histogram in getStats
2016-05-11 11:51:36 -07:00
9ccc0dd988
Add histogram Merge function
2016-05-06 14:26:07 -07:00
4e30886378
Create a histogram for each goroutine
2016-05-06 14:19:32 -07:00
660a65ba7c
Minor fixes
...
Move code around
2016-05-06 14:18:57 -07:00
43b6e14060
Add comments for exported fields
2016-05-05 10:48:20 -07:00
7bc11a0c29
Remove histogramValue
2016-05-04 18:09:24 -07:00
d846ac94b3
Simplify histogram
2016-05-04 17:54:34 -07:00
8eb8dd0298
Merge pull request #660 from menghanl/benchmark_client
...
Benchmark worker
2016-05-04 15:50:59 -07:00
a04636c236
Minor fixes.
...
Comments
Remove nanosecond, add elapse directly
2016-05-04 14:16:47 -07:00
ac8e82e9d0
Explicitly set default cpu number to 1
2016-05-04 11:55:36 -07:00
78994035bc
Modify comments
2016-05-04 11:24:28 -07:00
a0ea2d2050
Fix comments and remove useless WaitGroup
2016-05-03 18:28:06 -07:00
d34f891713
Move closeConns to client shutdown()
2016-05-03 17:38:32 -07:00
8963fdb9cb
Reconstruct startBenchmarkServer
2016-05-03 17:05:37 -07:00
47152e8076
Reconstruct startBenchmarkClient
2016-05-03 17:05:14 -07:00
14d95fc632
Small fixes in comments.
2016-05-03 12:03:06 -07:00
020c480810
Not returning error in StartServer().
2016-05-03 11:29:00 -07:00
7f24e5e90e
Merge pull request #661 from saicheems/typo
...
Fix typo
2016-05-03 10:54:26 -07:00
444ab5553f
Fix comments
2016-05-02 14:51:41 -07:00
ad6a5173f8
Small fix in error desc
2016-05-02 10:58:43 -07:00
c1cfebc384
Address review comments
2016-05-02 10:55:12 -07:00
02bd4c80b5
Fix leak goroutine problem
2016-04-29 16:43:01 -07:00
e7801b635a
Fix error in benchmark/server/main.go
2016-04-29 16:40:32 -07:00
67497aad6c
Minor fixes
2016-04-29 16:40:23 -07:00
27ecb91efa
Fix typo
2016-04-29 14:58:02 -07:00
0d31c857ae
Merge stream init and rpc goroutine creation to the same loop, and
...
remove warming up.
2016-04-29 11:27:24 -07:00
ceacfbcbc1
Add selecting on stop chan to avoid goroutine leak
2016-04-29 10:58:11 -07:00
db85417dd0
Check old benchmarkserver before creating new benchmarkserver
2016-04-29 10:43:27 -07:00
0ca699c979
Address review comments
...
Change Abs to abs
Remove unimplemented distribution
Name change
Get server port from config or cmd line option
2016-04-29 10:39:18 -07:00
19d3a3572d
Merge StartServer and StartByteBufServer into a general StartServer
2016-04-28 17:34:55 -07:00
bb1be7190b
Change cpu core set and var declaration
2016-04-28 16:43:23 -07:00
3a13913bba
Address review comments
...
Change startBenchmarkClient and startBenchmarkServer
2016-04-28 16:16:54 -07:00
dad9308fa3
Address review comments
2016-04-28 16:02:27 -07:00
997b80914b
Modify byteBufCodec to use *[]byte and remove reqSize from bytebufserver
2016-04-28 15:49:24 -07:00
988c934720
Rename genericServer to byteBufServer
2016-04-28 14:43:29 -07:00
add9c0b9f2
Change NewClientConn so that all options need to be specified by caller
2016-04-28 14:38:30 -07:00
7a5269acfe
Change StartServer back to return address rather than port number
2016-04-28 14:37:48 -07:00
63410e3453
Change doBenchmark to client struct member function
2016-04-27 16:15:23 -07:00
bc7b50cb41
Minor fixes
...
Add license
Remove comments and debug logging
Change client status timeElapsed
Change error code to unimplemented
Change warm up rpc size
Move conn.Close go routine
Defer server and client shutdown
Add histogram sumOfSquare clear
Change worker stop
Change benchmark go routine argument
Use same lock inside and out of benchmark
2016-04-27 16:15:23 -07:00
61623241f4
Small fixes in worker main.go
2016-04-27 16:15:23 -07:00
b54a56774d
Update histogram creating options
2016-04-27 16:15:23 -07:00
ad0677d6a9
Close loop: Create multiple streams on one connection
2016-04-27 16:15:23 -07:00
9a595041db
Add benchmarkClient shutdown()
2016-04-27 16:15:12 -07:00
fc76af457f
Add distribution variable to be used by open loop
2016-04-27 16:14:24 -07:00