Jan Tattermusch
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
apolcyn
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
Alexander Polcyn
388da4269c
remove inner goroutines around individual sends and receives in benchmark client
...
streams
2016-10-07 14:57:42 -07:00
Qi Zhao
b564fc98e0
Merge pull request #677 from menghanl/multiple_histogram
...
Multiple histogram
2016-05-17 13:47:24 -07:00
Menghan Li
613465d739
Use pointer receiver for locking histogram
2016-05-17 11:08:03 -07:00
Menghan Li
71a11ef208
Wrap for lockingHistogram.add swap mergeInto
2016-05-17 10:59:28 -07:00
Menghan Li
551c49844f
Specify cap of slices
2016-05-16 18:30:58 -07:00
Menghan Li
6c97293712
Use a struct of mutex and histogram in client
2016-05-16 18:29:06 -07:00
Menghan Li
7bb7ec5e30
Reset lastResetTime after merging histograms
2016-05-13 10:01:46 -07:00
Menghan Li
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
Menghan Li
31cbd9ae6f
Use all cpu cores available on machine by default
2016-05-12 11:03:29 -07:00
Menghan Li
0dc39fe27f
Golint and histogram opts compare
2016-05-11 17:57:59 -07:00
Menghan Li
423a9dea78
Change getStats to do reseting if required.
2016-05-11 17:20:16 -07:00
Menghan Li
9521f8ddae
Change RWMutex to Mutex
2016-05-11 12:02:39 -07:00
Menghan Li
e1243883d6
Merge histograms into one histogram in getStats
2016-05-11 11:51:36 -07:00
Menghan Li
4e30886378
Create a histogram for each goroutine
2016-05-06 14:19:32 -07:00
Menghan Li
7bc11a0c29
Remove histogramValue
2016-05-04 18:09:24 -07:00
Menghan Li
a04636c236
Minor fixes.
...
Comments
Remove nanosecond, add elapse directly
2016-05-04 14:16:47 -07:00
Menghan Li
ac8e82e9d0
Explicitly set default cpu number to 1
2016-05-04 11:55:36 -07:00
Menghan Li
78994035bc
Modify comments
2016-05-04 11:24:28 -07:00
Menghan Li
a0ea2d2050
Fix comments and remove useless WaitGroup
2016-05-03 18:28:06 -07:00
Menghan Li
d34f891713
Move closeConns to client shutdown()
2016-05-03 17:38:32 -07:00
Menghan Li
47152e8076
Reconstruct startBenchmarkClient
2016-05-03 17:05:14 -07:00
Menghan Li
444ab5553f
Fix comments
2016-05-02 14:51:41 -07:00
Menghan Li
02bd4c80b5
Fix leak goroutine problem
2016-04-29 16:43:01 -07:00
Menghan Li
67497aad6c
Minor fixes
2016-04-29 16:40:23 -07:00
Menghan Li
0d31c857ae
Merge stream init and rpc goroutine creation to the same loop, and
...
remove warming up.
2016-04-29 11:27:24 -07:00
Menghan Li
ceacfbcbc1
Add selecting on stop chan to avoid goroutine leak
2016-04-29 10:58:11 -07:00
Menghan Li
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
Menghan Li
bb1be7190b
Change cpu core set and var declaration
2016-04-28 16:43:23 -07:00
Menghan Li
3a13913bba
Address review comments
...
Change startBenchmarkClient and startBenchmarkServer
2016-04-28 16:16:54 -07:00
Menghan Li
988c934720
Rename genericServer to byteBufServer
2016-04-28 14:43:29 -07:00
Menghan Li
63410e3453
Change doBenchmark to client struct member function
2016-04-27 16:15:23 -07:00
Menghan Li
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
Menghan Li
b54a56774d
Update histogram creating options
2016-04-27 16:15:23 -07:00
Menghan Li
ad0677d6a9
Close loop: Create multiple streams on one connection
2016-04-27 16:15:23 -07:00
Menghan Li
9a595041db
Add benchmarkClient shutdown()
2016-04-27 16:15:12 -07:00
Menghan Li
fc76af457f
Add distribution variable to be used by open loop
2016-04-27 16:14:24 -07:00
Menghan Li
b5e39adfb2
Add generic close loop
2016-04-27 16:14:24 -07:00
Menghan Li
257710d39c
Add close benchmark rpc calls
2016-04-27 16:13:32 -07:00
Menghan Li
2aaff82a6e
Add RunClient()
2016-04-27 16:13:06 -07:00