Граф коммитов

1413 Коммитов

Автор SHA1 Сообщение Дата
iamqizhao 9604a2bb7d Revert "Fix onRead race"
This reverts commit 973c6ff04d.
2016-05-06 11:57:52 -07:00
iamqizhao 973c6ff04d Fix onRead race 2016-05-06 11:49:49 -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
Qi Zhao 8eb8dd0298 Merge pull request #660 from menghanl/benchmark_client
Benchmark worker
2016-05-04 15:50:59 -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
Qi Zhao 7f24e5e90e Merge pull request #661 from saicheems/typo
Fix typo
2016-05-03 10:54:26 -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
Sai Cheemalapati 27ecb91efa Fix typo 2016-04-29 14:58:02 -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
Menghan Li add9c0b9f2 Change NewClientConn so that all options need to be specified by caller 2016-04-28 14:38:30 -07:00
Menghan Li 7a5269acfe Change StartServer back to return address rather than port number 2016-04-28 14:37:48 -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 61623241f4 Small fixes in worker main.go 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
Qi Zhao b062a3c003 Merge pull request #654 from jazzgal/patch-1
Comment typo
2016-04-25 10:42:00 -07:00
jazzgal b4ad52a6ec Comment typo 2016-04-24 16:01:42 +07:00
Menghan Li 262ed2bd6d Merge pull request #651 from iamqizhao/master
Start reader Goroutine earlier
2016-04-22 16:00:04 -07:00
iamqizhao 0f4e1e7ee5 Start reader Goroutine earlier 2016-04-22 13:49:56 -07:00
Menghan Li c2e8421003 Minor changes
Change log print
Ignore cpu core list and return the actual number of cores used
Add copyright
Change certfile and keyfile path to relative
RunClient() returns "not implemented" error
Close existing server when new server setup received
Main goroutine will wait for server to stop
Move benchmarkServer out of workerServer
2016-04-22 13:48:50 -07:00