Jens Schauder
dcd22360b7
Fix Jdbc benchmark failures
...
Spring Boot 3s Datasource autoconfiguration backs off when R2DBC is present.
Therefore a Datasource has to constructed explicitly.
And other autoconfigurations which would collide with JDBC had to be disabled.
2024-03-20 16:17:59 +01:00
Jens Schauder
4932d62b8b
Fix build issues.
...
Upgraded the Maven version.
Added module name for the support jar.
Changed javax to jakarta.
2024-03-15 15:15:22 +01:00
Mark Paluch
069c49b57f
Upgrade to Spring Boot 3.3
2024-03-07 16:09:15 +01:00
dependabot[bot]
05e2a6f716
Bump json-smart from 2.4.1 to 2.4.4 in /benchmark
...
Bumps [json-smart](https://github.com/netplex/json-smart-v2 ) from 2.4.1 to 2.4.4.
- [Release notes](https://github.com/netplex/json-smart-v2/releases )
- [Commits](https://github.com/netplex/json-smart-v2/commits )
---
updated-dependencies:
- dependency-name: net.minidev:json-smart
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes #212
2022-04-27 09:47:02 +02:00
dependabot[bot]
0d86beed4b
Upgrade to json-smart from 2.3 to 2.4.1.
...
Bumps [json-smart](https://github.com/netplex/json-smart-v2 ) from 2.3 to 2.4.1.
- [Release notes](https://github.com/netplex/json-smart-v2/releases )
- [Commits](https://github.com/netplex/json-smart-v2/commits/2.4.1 )
---
updated-dependencies:
- dependency-name: net.minidev:json-smart
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes #191
2022-01-11 09:04:33 +01:00
Mark Paluch
c4f3b5e812
Extend license header date range to 2022.
...
Closes #199
2022-01-11 09:01:59 +01:00
Mark Paluch
bdafbce523
Add benchmark for ReactiveRedisTemplate.
...
Closes #190
2021-09-10 13:49:36 +02:00
Mark Paluch
4efa0f8e00
Upgrade to Spring Boot 2.5 snapshots.
...
Closes #170 .
2021-02-09 10:55:21 +01:00
Christoph Strobl
8f55850118
#146 - Replace EntityCallback lambdas in MongoDB benchmarks.
...
Use a dedicated class instead of a lambda expression because we cannot capture the entity type when using the latter which leads to false results when callbacks that should not be called get invoked due to their Object type signature.
closes : #146
2020-05-07 14:12:53 +02:00
Mark Paluch
1a1e0cd07d
#145 - Migrate unit tests to JUnit 5 and AssertJ.
2020-04-30 15:02:35 +02:00
Mark Paluch
94a278cc0d
#140 - Adopt to changes in Spring Data R2dbc.
2020-04-06 14:38:25 +02:00
Mark Paluch
327ead755a
#140 - Polishing.
...
Use StaticApplicationContext instead of AnnotationConfigApplicationContext for an empty application context. Use dedicated Person class instead of reusing it from an other benchmark class.
2020-04-06 14:38:25 +02:00
Roman Puchkovskiy
40e051f494
#140 - Add benchmarks for after-convert callbacks.
...
- add the benchmark itself
- migrate to spring-boot dependencies of version 2.3.0
2020-04-06 14:38:14 +02:00
Roman Puchkovskiy
6aa6b4d65e
#141 - Add maven wrapper.
...
The build requires a specific version of Maven via enforcer plugin (3.5.0). If a developer does not have this specific version of Maven on their machine, they will be forced to install it, which is not too convenient. Having maven wrapper solves this problem
2020-03-29 22:52:37 +02:00
Mark Paluch
03ad99540a
#125 - Polishing.
...
Upgrade to latest R2DBC versions. Reformat code.
2019-10-01 10:24:08 +02:00
Mark Paluch
5b2670ef6f
#125 - Adapt to changes in Spring Boot R2DBC.
...
Simplify R2DBC fixture. Add password override.
2019-10-01 10:06:34 +02:00
Oliver Drotbohm
bdf518841b
#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
2019-10-01 10:06:34 +02:00
Oliver Drotbohm
d8381cb4fc
#126 - Book benchmark for MongoDB similar to the relational ones.
2019-08-13 13:15:51 +02:00
Oliver Drotbohm
757318b5cd
#123 - Benchmark overhaul.
...
Unified benchmarks into one for JDBC and JPA. They're now both testing the data access with the plain infrastructure (JdbcTemplate and EntityManager) plus interactions via Spring Data repositories on top of that. Added build profiles to run the same benchmarks against an in-memory H2, a locally running H2 and a locally running Postgres. See the readme for setup instructions.
The JdbcFixture contains code to optionally disable event publication for the JDBC operation. Uncomment the line invoking disableEntityCallbacks(…).
Changed the benchmarks to use 10 warmup iterations instead of 5 to make sure we're at stable numbers once the measurement happens.
2019-08-13 11:01:07 +02:00
Oliver Gierke
231ba479ca
#123 - Upgrade to Spring Boot 2.2 M3 for benchmarks.
...
Includes Spring Data Moore RC2.
2019-08-07 23:57:56 +02:00
Oliver Drotbohm
63843d6d59
#123 - Initial draft of benchmarks for relational data access (JDBC & JPA).
2019-07-24 11:39:26 +02:00
Mark Paluch
ba87acef37
#119 - Polishing.
2019-07-15 10:40:12 +02:00
Christoph Strobl
22ac623ab9
#119 - Add EntityCallback API usage benchmark for Spring Data MongoDB.
2019-07-15 10:40:09 +02:00
Christoph Strobl
d48e643b04
#119 - Upgrade to Moore.
2019-07-15 10:38:26 +02:00
Spring Operator
f16b9c95c8
#107 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 147 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
Original Pull Request: #110
2019-07-15 10:19:03 +02:00
Mark Paluch
fdc242e65e
#97 - Remove Microbenchmark runner in favor of mp911de/microbenchmark-runner.
2019-07-15 10:19:03 +02:00
Spring Operator
1ac1380cba
#107 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://openjdk.java.net/projects/code-tools/jmh/ with 1 occurrences migrated to:
https://openjdk.java.net/projects/code-tools/jmh/ ([https](https://openjdk.java.net/projects/code-tools/jmh/ ) result 200).
* [ ] http://www.example.com/jira/rest/api/2/issue/10000 with 1 occurrences migrated to:
https://www.example.com/jira/rest/api/2/issue/10000 ([https](https://www.example.com/jira/rest/api/2/issue/10000 ) result 200).
* [ ] http://docs.spring.io/spring-data/%s/docs/%s with 1 occurrences migrated to:
https://docs.spring.io/spring-data/%s/docs/%s ([https](https://docs.spring.io/spring-data/%s/docs/%s ) result 301).
# Ignored
These URLs were intentionally ignored.
* http://127.0.0.1:8080/capture-benchmarks with 1 occurrences
* http://localhost:8888 with 2 occurrences
Original pull request: #108 .
2019-03-25 09:35:10 +01:00
Spring Operator
a25ff3ae28
#107 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 150 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
Original Pull Request: #111
2019-03-22 18:33:00 +01:00
Spring Operator
b1ad6370fc
#107 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 4 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 3 occurrences migrated to:
https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd ) result 301).
* http://www.spring.io with 2 occurrences migrated to:
https://www.spring.io ([https](https://www.spring.io ) result 301).
* http://www.spring.io/spring-data with 1 occurrences migrated to:
https://www.spring.io/spring-data ([https](https://www.spring.io/spring-data ) result 301).
* http://oss.sonatype.org/content/repositories/snapshots with 1 occurrences migrated to:
https://oss.sonatype.org/content/repositories/snapshots ([https](https://oss.sonatype.org/content/repositories/snapshots ) result 302).
* http://repo.spring.io/libs-snapshot with 3 occurrences migrated to:
https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 14 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 7 occurrences
Original pull request: #106
2019-03-20 10:23:26 -05:00
Mark Paluch
edc881add5
#87 - Add benchmark for DefaultTypeMapper.
2018-10-08 14:06:07 +02:00
Mark Paluch
1cb4edec88
#78 - Fix benchmark filtering.
...
Ensure method name regex does not match on substrings.
2018-09-10 12:47:18 +02:00
Christoph Strobl
95ef25789f
#81 - Use JMH Test class name as report filename to prevent test results from overriding one another.
...
Closes : #81
2018-08-31 11:37:48 +02:00
Oliver Gierke
4da5a6f494
#79 - Made classes to be used reflectively private.
...
This is needed as the latest Spring Data Commons added support for the improved access mechanism for package protected classes, too.
2018-08-17 13:00:04 +02:00
Oliver Gierke
ad306ba6e4
#79 - Fixed benchmarks to really use the (access) types they claim to use.
...
Added benchmarks for combined constructor and property population.
2018-08-16 11:19:12 +02:00
Oliver Gierke
87cbcbb989
#79 - Tweaked benchmark to use API to avoid property population.
...
We now use PersistentEntity.requiresPropertyPopulation() (via Spring Data Commons' DATACMNS-1366) to eagerly return the initially created instance and delaying all setup and execution of property population until really necessary. We also avoid the creation of a ParameterValueProvider in case the entity exposes a default constructor.
2018-08-08 13:20:11 +02:00
Oliver Gierke
02a8562d94
#79 - Added benchmark for non-reflective constructor usage.
2018-08-08 11:07:14 +02:00
Mark Paluch
478a12bcb7
#78 - Fix benchmark filtering.
...
We now check the specified benchmark filter expression against the JUnit class to make sure JMH does not spin up benchmark classes that are different than the actual JUnit class.
2018-08-08 10:50:56 +02:00
Mark Paluch
237612810c
#78 - Import JMH Benchmarks readme.
2018-08-08 10:48:55 +02:00
Mark Paluch
0e4f9779ff
#78 - Fix filtering in selective benchmark execution.
2018-08-08 10:29:28 +02:00
Mark Paluch
3a6f4bcbdb
#79 - Add benchmark for typical EntityReader.
2018-08-07 15:03:43 +02:00
Mark Paluch
64938937b3
#78 - Allow selective benchmark execution.
2018-08-07 12:04:00 +02:00
Mark Paluch
8c7c18c949
#78 - Import JMH benchmarks.
2018-08-07 10:10:25 +02:00