Doug Fawley
53d1f23a27
benchmark: update proper benchmark binary to use larger buffers ( #6537 )
2023-08-14 09:05:30 -07:00
Mikhail Mazurskiy
379a2f676c
*: add missing colon to errorf messages to improve readability ( #5911 )
2023-01-17 16:11:47 -08:00
Doug Fawley
ecc9a99b66
interop: remove test.proto clones/variants and use grpc-proto repo instead ( #4129 )
2021-01-07 14:19:11 -08:00
Easwar Swaminathan
8c8305f8d5
benchmark: Revert to use old certs. ( #3860 )
2020-09-01 17:59:14 -07:00
Menghan Li
8beeedb8b1
internal: clean up all usages of grpclog, and replace with component ( #3719 )
2020-08-06 13:19:17 -07:00
Easwar Swaminathan
fd393c8989
testdata: Update testdata certs. ( #3786 )
...
* This will be used in certprovider tests where we would want more than one server and client certs.
* Also, updated existing usages of these certs to point to the new files.
* Also copy over the required certs/key files. This avoids the example gomodule from depending on gRPC testdata package which should be able to change independently.
* Fix interop test's SAN.
2020-08-05 09:55:07 -07:00
lyuxuan
8c15646409
Benchmark: fix build tags ( #2099 )
2018-07-12 13:06:42 -07:00
Menghan Li
161c19534c
benchmark: listen on all addresses in benchmark servers ( #2073 )
2018-05-14 17:26:00 -07:00
Chyroc
f8dbc38bdc
Fix "deprecated" function godoc comments to match standard formatting ( #2027 )
2018-05-02 08:52:49 -07:00
Jean de Klerk
2759199bf7
Small spelling fixes (unknow -> unknown) ( #1868 )
2018-02-22 13:10:19 -08:00
dfawley
46fd263cc8
benchmarks: add flag to benchmain to use bufconn instead of network ( #1837 )
...
This will allow us to focus on grpc internals in profiling by excluding the cost of syscalls, which is a significant part of our time spent.
2018-02-15 14:52:38 -08:00
Gyu-Ho Lee
865013bc17
*: replace deprecated grpc.Errorf calls with status.Errorf ( #1651 )
2017-11-06 10:24:20 -08:00
ZhouyihaiDing
66c9ed803b
Add flags for tls file path ( #1419 )
2017-08-03 15:23:02 -07:00
田欧
ca9e0c3458
Add testdata package and unify testdata to only one dir ( #1297 )
2017-07-25 10:24:45 -07:00
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
Qi Zhao
b564fc98e0
Merge pull request #677 from menghanl/multiple_histogram
...
Multiple histogram
2016-05-17 13:47:24 -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
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
8963fdb9cb
Reconstruct startBenchmarkServer
2016-05-03 17:05:37 -07:00
Menghan Li
020c480810
Not returning error in StartServer().
2016-05-03 11:29:00 -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
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
7a5269acfe
Change StartServer back to return address rather than port number
2016-04-28 14:37:48 -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
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
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