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

165 Коммитов

Автор SHA1 Сообщение Дата
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
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
Menghan Li bdd0e9ff61 Fix error in benchmark_test 2016-04-22 13:48:50 -07:00
Menghan Li 26b336d491 Add driver command line options 2016-04-22 13:48:50 -07:00
Menghan Li 643486f084 Add bytebuf codec and generic benchmark server 2016-04-22 13:48:50 -07:00
Menghan Li 9fd1d5bee8 Implement QPS workerServer and Add RunServer() for benchmarkServer 2016-04-22 13:47:34 -07:00
Menghan Li 142fdefa83 Sync proto and update service name in src 2016-04-22 10:58:15 -07:00
Qi Zhao 306a1ee0fe Merge pull request #636 from menghanl/histogram
Change histogram to comply with benchmark worker requirements
2016-04-21 18:06:02 -07:00
Menghan Li f4425a1062 Address review comments 2016-04-21 17:47:21 -07:00
Menghan Li 782915aae8 Add extra option smallest bucket size 2016-04-20 10:16:33 -07:00
Menghan Li 7e9d489649 Address review comments 2016-04-19 17:26:15 -07:00
iamqizhao 61e92eacc3 Phase 1 to add the server interceptor 2016-04-18 16:18:34 -07:00
Menghan Li 056dc9c933 Change histogram algorithm to comply with benchmark requirements 2016-04-14 11:43:24 -07:00
Menghan Li 536ed747b8 Change histogram lowbound to float64 2016-04-14 11:43:24 -07:00
Menghan Li d8783294dd Add sumOfSquares to histogram 2016-04-14 11:43:15 -07:00
Tamir Duberstein accbf4c185 `make proto` 2016-02-04 17:35:04 -05:00
iamqizhao 3497fcb768 Fix the benchmark client 2015-12-22 15:00:37 -08:00
iamqizhao a15e3b9562 decodeFunc -> dec 2015-10-01 16:26:00 -07:00
iamqizhao a71db53441 remove slice param 2015-09-29 20:10:20 -07:00
iamqizhao a27bb5b14a remove dead code 2015-09-29 19:08:55 -07:00
iamqizhao ef43a528c1 example generated code 2015-09-29 19:07:43 -07:00
Tamir Duberstein fe58c815dd tests: use `testing.{B,T}` or return errors instead of crashing 2015-09-11 14:27:38 -04:00
iamqizhao 100ca6a0da fix benchmark, interop and examples 2015-08-27 17:32:57 -07:00
iamqizhao 0e0cf2c228 gofmt -w 2015-07-21 17:53:59 -07:00
iamqizhao 528e1e3ef9 add trace flag to benchmark client 2015-06-11 16:53:53 -07:00
iamqizhao 4a8118a90f Add NoTrace suite for benchmark 2015-06-11 16:48:04 -07:00
yangzhouhan 207c0140f9 change the enabletracing value to false 2015-06-10 17:23:52 -07:00
yangzhouhan 66a455aa02 change the value of enabletracing to false 2015-06-10 17:19:50 -07:00
yangzhouhan 04b604054f close trace 2015-06-10 16:59:41 -07:00
David Symonds 73bb3c6426 Run benchmark server on localhost interface only.
This avoids triggering firewall warnings on OS X,
and it's generally safer too.
2015-06-08 07:38:22 -07:00
David Symonds 07f33239d2 Fix data race in benchmark_test.go.
Streams are not safe for concurrent use,
so start a new stream for each goroutine.

Fixes #213.
2015-06-06 10:10:14 -07:00
Qi Zhao d94dcabef2 Merge pull request #200 from peter-edge/makefile
Makefile
2015-06-05 14:27:22 -07:00
yangzhouhan 7fa35af646 modification for the print out information 2015-06-02 18:33:10 -07:00
yangzhouhan b6a930aea4 modified the comments and format 2015-06-02 18:26:11 -07:00
yangzhouhan 149db4945c 2 round modification 2015-06-02 17:39:51 -07:00
yangzhouhan b76b70f703 change import package 2015-06-02 14:07:14 -07:00
yangzhouhan 585c999c1f modified streaming call benchmark_test code and streaming call client test code 2015-06-02 11:13:43 -07:00
yangzhouhan 7b4cd4d7d3 modified test proto and add benchmark test for streaming rpc 2015-06-01 14:58:25 -07:00
Peter Edge 7b50c34edb add make proto and update protos 2015-05-24 16:14:32 +02:00
Peter Edge f5bae617c6 Add a Makefile to show development commands
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2015-05-24 16:05:35 +02:00
Peter Edge 7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00
Peter Edge 101c1e1935 change log package references to grpc/log 2015-05-09 01:16:40 +02:00
Peter Edge 5700d19d0e Fix golint errors for non-generated code 2015-05-08 21:46:16 +02:00
iamqizhao a239e5e55f Add profiling port for benchmark server 2015-04-30 19:16:27 -07:00
iamqizhao ae40153504 add profiling port for benchmark client 2015-04-30 19:05:16 -07:00
iamqizhao 58e0450a3c put Start/StopTimer() at right place 2015-04-29 11:20:15 -07:00
iamqizhao dfda1a1061 gofmt -w 2015-04-29 11:03:25 -07:00
iamqizhao f29a6f2d85 record per-rpc rtt in benchmark_test 2015-04-29 11:02:40 -07:00
iamqizhao 93ec6daf9c record per-rpc latency instead of per-item 2015-04-29 10:58:56 -07:00
iamqizhao c0ead53d5e Add the standalone benchmark client 2015-04-28 19:23:26 -07:00
iamqizhao 9f83f476dc add standalone benchmark server 2015-04-28 17:34:24 -07:00
iamqizhao 0f85408fd4 Eliminate proto.Unmarshal in the generated code 2015-04-27 14:47:09 -07:00
iamqizhao c5984b9a7d Print latency histogram for benchmarks 2015-04-23 16:25:16 -07:00
iamqizhao c63da93d52 stats lib for benchmark 2015-04-23 13:10:23 -07:00
iamqizhao 8b08b2d7b2 Interface change to accommodate the support of non-protobuf data formats 2015-03-25 15:18:07 -07:00
iamqizhao 666e0a407b initial benchmark commit. Mostly ported from interop test and Google interal rpc microbenchmarks. 2015-03-17 14:27:34 -07:00