#125 - First draft of R2DBC benchmarks.

TODOs:

- Review interaction with the JDBC auto-configuration
- Wait for tcp protocol of H2 to be supported
- Wait for Postgres to accept credentialless connections (see [0])

[0] https://github.com/r2dbc/r2dbc-postgresql/issues/125
This commit is contained in:
Oliver Drotbohm
2019-08-13 11:05:53 +02:00
committed by Mark Paluch
parent ba8d634fd8
commit bdf518841b
9 changed files with 287 additions and 0 deletions

View File

@@ -13,6 +13,10 @@
<artifactId>spring-data-benchmark-relational</artifactId>
<name>Spring Data Benchmarks - Relational Microbenchmarks</name>
<properties>
<spring-boot-data-r2dbc.version>0.1.0.BUILD-SNAPSHOT</spring-boot-data-r2dbc.version>
</properties>
<dependencies>
@@ -41,6 +45,28 @@
<artifactId>postgresql</artifactId>
</dependency>
<!-- R2DBC -->
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-starter-data-r2dbc</artifactId>
<version>${spring-boot-data-r2dbc.version}</version>
</dependency>
<dependency>
<groupId>io.r2dbc</groupId>
<artifactId>r2dbc-h2</artifactId>
<version>0.8.0.M8</version>
</dependency>
<dependency>
<groupId>io.r2dbc</groupId>
<artifactId>r2dbc-postgresql</artifactId>
<version>0.8.0.M8</version>
</dependency>
<!-- Mocking -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>