brettwooldridge / HikariCP

光 HikariCP・A solid, high-performance, JDBC connection pool at last.
Apache License 2.0
19.91k stars 2.92k forks source link

When I tested the throughput using JMH,found that hikaricp 5.0.0 was faster than version 5.0.1 #2159

Closed herouu closed 8 months ago

herouu commented 9 months ago

version 5.0.1 Benchmark (jdbcUrl) (maxPoolSize) (pool) Mode Cnt Score Error Units ConnectionBench.cycleCnnection jdbc:stub 32 hikari thrpt 80 8328.773 ± 102.548 ops/ms

version 5.0.0 Benchmark (jdbcUrl) (maxPoolSize) (pool) Mode Cnt Score Error Units ConnectionBench.cycleCnnection jdbc:stub 32 hikari thrpt 80 10421.351 ± 101.841 ops/ms

I don't know what happen between them!

quaff commented 9 months ago

Comparing: https://github.com/brettwooldridge/HikariCP/compare/HikariCP-5.0.0...HikariCP-5.0.1

Only one effective commit https://github.com/brettwooldridge/HikariCP/commit/ed2da5f1f4ef19f871fac12effc0b199706905dc