Paul Chesnais
9ab8b62505
Implement new Codec that uses `mem.BufferSlice` instead of `[]byte` ( #7356 )
2024-08-21 14:11:39 -07:00
Nathan Baulch
c8951abc16
*: fix minor typos ( #7487 )
...
* Fix typos
* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Paul Chesnais
10085621a4
benchmark: wire in new gzip compressor ( #7486 )
2024-08-13 14:19:45 -07:00
Easwar Swaminathan
a03c7f1faa
client: always enable TCP keepalives with OS defaults ( #6834 )
2023-12-07 14:04:31 -08:00
Doug Fawley
8b17a4dbc3
vet: various cleanups ( #6780 )
2023-11-10 13:01:59 -08:00
Jayden Teoh
f1a1fcd042
grpc: disable and document overrides of OS default TCP keepalive by Go ( #6672 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2023-11-07 13:49:01 -08:00
Easwar Swaminathan
ddb026e8a8
experimental: add package and move recv buffer pool APIs into it ( #6692 )
2023-10-12 18:29:29 -07:00
Doug Fawley
fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` ( #6544 )
2023-08-14 09:04:46 -07:00
Sergey Matyukevich
9bb44fbf2e
transport: use a sync.Pool to share per-connection write buffer ( #6309 )
2023-07-20 15:28:06 -07:00
Sergey Matyukevich
db32c5bfeb
Fix preloader mode in benchmarks ( #6359 )
2023-07-11 10:02:15 -07:00
Jaewan Park
1634254ac6
rpc_util: Reuse memory buffer for receiving message ( #5862 )
2023-06-27 08:58:10 -07:00
Zach Reyes
1c0572a5ec
benchmark: fix package used to reference service to use grpc suffix instead of pb ( #6362 )
2023-06-08 15:42:28 -04:00
Sergey Matyukevich
1b6666374d
benchmark: Add sleepBetweenRPCs and connections parameters ( #6299 )
2023-06-06 17:09:16 -04:00
Mikhail Mazurskiy
379a2f676c
*: add missing colon to errorf messages to improve readability ( #5911 )
2023-01-17 16:11:47 -08:00
Theodore Salvo
f2fbb0e07e
Deprecate use of `ioutil` package ( #5906 )
...
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Antoine Tollenaere
94f0e7fa77
benchmark: add a feature for read and write buffer sizes ( #5774 )
...
* benchmark: add a feature for read and write buffer sizes
2022-11-30 11:52:40 -05:00
Doug Fawley
778860e606
testing: update Go to 1.19 ( #5717 )
2022-10-17 15:04:34 -07:00
赵延
c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials ( #5177 )
2022-02-09 11:17:46 -08:00
Ryan Leung
14ebd917f2
lint: fix some unused parameter issues ( #4956 )
2021-11-09 11:18:21 -08:00
Doug Fawley
d3ae124a07
cleanup: use different import alias for services than messages ( #4148 )
2021-01-12 12:23:41 -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
Menghan Li
8beeedb8b1
internal: clean up all usages of grpclog, and replace with component ( #3719 )
2020-08-06 13:19:17 -07:00
Doug Fawley
6b9bf4296e
Revert "profiling: add hooks within grpc ( #3159 )" ( #3378 )
...
This reverts commit 83263d17f7 .
2020-02-14 07:56:46 -08:00
Adhityaa Chandrasekar
83263d17f7
profiling: add hooks within grpc ( #3159 )
2020-02-12 11:10:44 -08:00
Adhityaa Chandrasekar
cf9eb4f51c
benchmark: add support for payload size curves ( #3248 )
2020-01-06 14:45:41 -08:00
Easwar Swaminathan
7c1d326729
benchmark: Enable server keepalive in benchmarks ( #3196 )
2019-11-20 09:06:10 -08:00
Easwar Swaminathan
b681a11d08
A few more improvements to the benchmark code. ( #2840 )
...
* A few more improvements to the benchmark code.
* In benchmain/main.go:
* Define types for function arguments to make code more readable
* Significantly simplify the code as a result of stats package refactor.
* In benchresult/main.go
* Simplify code as a result of stats package refactor.
* In stats/stats.go
* Define and expose featureIndex enum.
* Refactor the types used to store features, results, stats etc.
* Provide easy to use methods to add/modify/read/dump stats info.
* Delete stats/util.go - dead code.
2019-06-10 09:53:35 -07:00
Can Guler
c2e0a6d772
Fix a typo. ( #2826 )
2019-05-21 11:09:30 -07:00
Easwar Swaminathan
7c03793042
benchmark: refactor the benchmark code. ( #2820 )
...
benchmark: refactor the benchmark code.
2019-05-20 16:01:37 -07:00
Prannay Khosla
8260df7a61
grpc: implementation of PreparedMsg API
...
grpc: implementation of PreparedMsg API
2019-04-19 14:08:08 -07:00
Menghan Li
40cb5618f4
dialOption: export WithContextDialer() ( #2629 )
...
fixes #2627
2019-02-25 15:22:10 -08:00
Can Guler
954fe27324
benchmark: Unconstrained streaming benchmark ( #2512 )
...
* Adds unconstrained streaming benchmarks.
* Adds throughput to all scenarios.
* Adds comment to exported function.
* Adds comment to the new rpc.
* Adds a new run mode for unconstrained benchmarks.
* Converts counters to uint64s.
* Decreases default warm up time.
* Addresses PR comments.
* Deletes an unnecessary select/case
* Explains the use of RecvMsg rather than Recv.
2019-01-11 17:37:31 -08:00
Doug Fawley
04ea82009c
cleanup: replace "x/net/context" import with "context" ( #2439 )
2018-11-12 13:30:41 -08:00
dfawley
90f728eaf7
Remove shadowing of built-ins ( #2290 )
2018-09-05 09:05:40 -07:00
lyuxuan
da7e20b83e
channelz: turn on channelz when importing service package, delete RegisterChannelz from grpc package ( #2277 )
2018-08-29 11:01:36 -07:00
lyuxuan
4166ea7dad
Stage 2: Channelz metric collection ( #1909 )
2018-04-23 11:22:25 -07:00
Karsten Weiss
749a0db289
Use time.Since() helper function (gosimple)
...
(I've dropped similar gosimple cleanups using time.Until() as this API is not
available in go1.6 and go1.7)
2018-04-15 15:32:33 +02: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
Zhouyihai Ding
1253dac14b
benchmain: format output of benchmark to a table ( #1493 )
2017-09-20 15:06:19 -07:00
dfawley
d6870035ab
Check "x/net/context" with `go vet` like "context" ( #1490 )
...
* Check "x/net/context" with `go vet` like "context"
Includes a signficant revamp of .travis.yml to execute a separate script for
all of the things we check before allowing a merge.
* fix bug in benchmain
2017-08-29 15:40:57 -07:00
dfawley
85a1e381f1
benchmain: add nop compressor and other usability tweaks ( #1489 )
2017-08-29 11:41:55 -07:00
dfawley
7fd9c2c66f
benchmain: minor bug fixes ( #1488 )
2017-08-29 10:55:39 -07:00
ZhouyihaiDing
051e7013db
add comment ( #1464 )
2017-08-25 13:09:52 -07:00
ZhouyihaiDing
7db1564ba1
benchmark: add benchmain/main.go to run benchmark with flag set ( #1352 )
2017-08-24 10:08:43 -07:00