Commit Graph

117 Commits

Author SHA1 Message Date
Tamir Duberstein 9aa8038716
*: gofmt/goimports simplify 2016-07-27 23:38:28 -04:00
Menghan Li a6bacfe42c Fix go vet 2016-06-29 13:36:10 -07:00
Menghan Li abe672d5ed Update generated files 2016-06-10 14:20:04 -07:00
Menghan Li 0da018f37e Update generated files 2016-06-09 15:02:17 -07:00
Menghan Li de5d3de2fe Disable grpc tracing in benchmark 2016-05-17 14:06:45 -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 8ca2706d37 Address review comments 2016-05-16 18:28:16 -07:00
Menghan Li 577b4b0d4c Address review comments 2016-05-13 10:36:50 -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 9ccc0dd988 Add histogram Merge function 2016-05-06 14:26:07 -07:00
Menghan Li 4e30886378 Create a histogram for each goroutine 2016-05-06 14:19:32 -07:00
Menghan Li 660a65ba7c Minor fixes
Move code around
2016-05-06 14:18:57 -07:00
Menghan Li 43b6e14060 Add comments for exported fields 2016-05-05 10:48:20 -07:00
Menghan Li 7bc11a0c29 Remove histogramValue 2016-05-04 18:09:24 -07:00
Menghan Li d846ac94b3 Simplify histogram 2016-05-04 17:54:34 -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 8963fdb9cb Reconstruct startBenchmarkServer 2016-05-03 17:05:37 -07:00
Menghan Li 47152e8076 Reconstruct startBenchmarkClient 2016-05-03 17:05:14 -07:00
Menghan Li 14d95fc632 Small fixes in comments. 2016-05-03 12:03:06 -07:00
Menghan Li 020c480810 Not returning error in StartServer(). 2016-05-03 11:29:00 -07:00
Menghan Li 444ab5553f Fix comments 2016-05-02 14:51:41 -07:00
Menghan Li ad6a5173f8 Small fix in error desc 2016-05-02 10:58:43 -07:00
Menghan Li c1cfebc384 Address review comments 2016-05-02 10:55:12 -07:00
Menghan Li 02bd4c80b5 Fix leak goroutine problem 2016-04-29 16:43:01 -07:00
Menghan Li e7801b635a Fix error in benchmark/server/main.go 2016-04-29 16:40:32 -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 db85417dd0 Check old benchmarkserver before creating new benchmarkserver 2016-04-29 10:43:27 -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 19d3a3572d Merge StartServer and StartByteBufServer into a general StartServer 2016-04-28 17:34:55 -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 dad9308fa3 Address review comments 2016-04-28 16:02:27 -07:00
Menghan Li 997b80914b Modify byteBufCodec to use *[]byte and remove reqSize from bytebufserver 2016-04-28 15:49:24 -07:00
Menghan Li 988c934720 Rename genericServer to byteBufServer 2016-04-28 14:43:29 -07:00