aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
AgeCommit message (Collapse)Author
2018-09-14all: use Java7 bracketsCarl Mastrangelo
2018-08-30benchmarks: fix nano time comparisonZHANG Dapeng
2018-07-12compiler,stub: update RpcMethod docs and usageCarl Mastrangelo
2018-07-10compiler, stub: Rename inputType and outputType in @RpcMethodjbingham-google
2018-07-06compiler, stub: Add @RpcMethod annotationjbingham-google
This annotation will enable Java APT to generate code. Addresses part of #3173.
2018-06-11all: add gradle format checkerZHANG Dapeng
This PR adds an automatic gradle format checker and reformats all the *.gradle files. After this, new changes to *.gradle files will fail to build if not in good format, just like checkStyle failure.
2018-06-05okhttp: deprecate OkHttpChannelBuilder#negotiationType (#4533)Eric Gribkoff
2018-06-05stub: remove static Method descriptors and stabilize method accessorsCarl Mastrangelo
2018-05-03 all: normalize copyright header Carl Mastrangelo
2018-04-30benchmarks: move proto to matching package structureCarl Mastrangelo
2018-04-20benchmarks: remove unused proto importCarl Mastrangelo
2018-03-28Fix compilation in Java 9Eric Anderson
2018-03-26build.gradle: bump protobuf plugin to 0.8.5 (#4101)zpencer
This update automatically adds generated sources and proto IDLs to the `idea` plugin.
2018-03-20benchmarks: Modernize TLS configurationEric Anderson
NIO does not mean to use Jetty ALPN; the only reason to use Jetty ALPN is to test OkHttp. We don't need to disable ciphers to test Java 7 (except for OkHttp, which we don't care about on Java 7 and it wasn't plumbed already) and we _really_ don't want people to copy the code to do so. useTransportSecurity()/usePlaintext() are preferred over the transport-specific NegotiationType.
2018-03-01 buildscripts,travis: fetch from mvn with retries (#4140)zpencer
A band aid for #3284, to make its symptoms less noticeable.
2018-02-28core,netty,okhttp,alts,inprocess: deprecate usePlaintext(boolean)Carl Mastrangelo
2018-02-08compiler: avoid invoking experimental method in generated codeEric Gribkoff
2018-01-10Update ErrorProne to 2.2.0 and fix failuresEric Anderson
2018-01-09Update ErrorProne to 2.1.3 and fix failuresEric Anderson
The fixes could have subtle side-effects, but I did take care when making them.
2017-11-30all: update to proto 3.5.0Carl Mastrangelo
2017-11-01core: set sampled for local span per MethodDescriptor. (#3627)Kun Zhang
This moves away from the global String-based Span name registry which is not as flexible as we desire. Also renamed the option name to be more accurate. This is not API-breaking because the origianl addition to MethodDescriptor and code-gen didn't make it into the 1.7.0 release.
2017-10-31 compiler: remove references to static fieldsCarl Mastrangelo
2017-10-30compiler: add methods for accessing method descriptorsCarl Mastrangelo
* MethodDescriptor is lazy loaded, so protobuf loading only happens on demand. This also means tracing registration happens on demand. * The names of the getters all being with `method`. This makes it harder for autocomplete to pick them up. * A new field is used, which matches the getter name. Rather than make the new-getters reference the old-fields, make the old-fields reference the new getters. This makes removal of the old-fields a simple operation. * The getters may not be inlineable, but thats an easy fix if it ends up being a problem. Not worth premature optimization (but is worth future work). The expected timeline for this is adding this to the 1.8 cut, and deprecating the old-fields. They will be removed in 1.9.
2017-09-25core/compiler: register Span names for code-generated methods (take 2)Kun Zhang
This is a more favorable approach than #3467. Doing the registration in MethodDescriptor should allow us to deregister in case the generated stub and its MethodDescriptors are garbage-collected routinely, e.g., if they are loaded by a separate ClassLoader.
2017-09-11core, compiler, protobuf: introduce MethodDescriptor#setSchemaDescriptorLukasz Strzalkowski
2017-08-28Move jmh benchmarks to their respective modulesEric Anderson
The benchmarks should be close to the code they're benchmarking, like we do with tests. This includes a bugfix to SerializingExecutorBenchmark to let it run. The io.grpc.benchmarks.netty benchmarks in benchmarks/ depend on ByteBufOutputMarshaller from benchmarks's main, so they were not moved.
2017-08-25all: update to proto 3.4.0Carl Mastrangelo
2017-08-24jmh: accidentally checked in foo.txt (#3391)zpencer
Remove this file
2017-08-23compiler: Add option to disable version outputEric Anderson
If the option becomes popular, we can just remove the version.
2017-08-22Start 1.7.0 development cycle (#3357)zpencer
This bump changelist is applied a bit late with respect to the 1.6.0 branch cut. Look at the 1.6.0 to see the source of truth of where it was cut. Do not assume it is the commit that precedes this one.
2017-08-16benchmark: context benchmark (#3263)zpencer
* replace read benchmark with the one written by lukesandberg * add a WriteBechmark
2017-08-05benchmark: add missing server side workloads (#3136)zpencer
* benchmark: add server side workloads
2017-07-26benchmarks: fix [MissingOverride]ZHANG Dapeng
``` :grpc-benchmarks:compileJavaC:\jenkins\workspace\gRPC-Java-PR-Windows\benchmarks\src\main\java\io\grpc\benchmarks\qps\AbstractConfigurationBuilder.java:58: warning: [MissingOverride] getDefaultValue implements method in Param; expected @Override public String getDefaultValue() { ^ (see http://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override public String getDefaultValue() {'? error: warnings found and -Werror specified 1 error 1 warning FAILED FAILURE: Build failed with an exception. ```
2017-07-14benchmarks: don't block shutdown when using nettyCarl Mastrangelo
2017-07-13benchmarks: add initial context benchmarksCarl Mastrangelo
2017-07-10testing: refactor part of TestUtils to internalZHANG Dapeng
Moved the following APIs from `io.grpc.testing.TestUtils` to `io.grpc.internal.TestUtils`: `InetSocketAddress testServerAddress(String host, int port)` `InetSocketAddress testServerAddress(int port)` `List<String> preferredTestCiphers()` `File loadCert(String name)` `X509Certificate loadX509Cert(String fileName)` `SSLSocketFactory newSslSocketFactoryForCa(Provider provider, File certChainFile)` `void sleepAtLeast(long millis)` APIs not to be moved: `ServerInterceptor recordRequestHeadersInterceptor()` `ServerInterceptor recordServerCallInterceptor()`
2017-07-07benchmarks: update to jmh 1.19Carl Mastrangelo
2017-07-07Update to Error Prone 2.0.21Eric Anderson
2017-07-06all: begin 1.6 release cycleCarl Mastrangelo
2017-06-19benchmarks: add missing ReportQpsScenarioServiceGrpcEric Gribkoff
2017-06-19benchmark service: sync protos with c-core 070a8ee (#3108)zpencer
Sync our protos with the definitions in c-core as of 070a8ee. After this, I will add the workloads present in C that are missing in Java.
2017-06-01core: don't return concrete type from AbstractServerImplBuilderCarl Mastrangelo
2017-06-01all: fix licence whitespaceCarl Mastrangelo
2017-05-31all: update to Apache 2 licenceCarl Mastrangelo
Also, update the authors.
2017-05-23all: bump to 1.5.0-SNAPSHOTCarl Mastrangelo
2017-05-23all: bump to proto 3.3.1Carl Mastrangelo
2017-05-15Upgrade to netty and netty-tcnativeŁukasz Strzałkowski
* Upgrade netty to 4.1.11.Final * Upgrade netty-tcnative to 2.0.1.Final * Remove `FixedHttp2ConnectionDecoder` as it's no longer needed * Use new, extensible `DefaultHttp2HeadersDecoder` for custom headers handling
2017-05-02compiler: remove streaming calls from javadoc for newFutureStubEric Gribkoff
FutureStubs only support unary calls
2017-04-14benchmarks: disable flag printingCarl Mastrangelo
2017-04-12compiler: move over to method descriptor builderŁukasz Strzałkowski