Commits


tianchen authored and Micah Kornfield committed 35b6d078959
ARROW-6601: [Java] Improve JDBC adapter performance & add benchmark Related to [ARROW-6601](https://issues.apache.org/jira/browse/ARROW-6601). Add a performance test as well to get a baseline number, to avoid performance regression when we change related code. When working with Jdbc adapter benchmark, I found the jmh result is very worse (about 1680000 ns/op), and I finally found that when we initialize a VectorSchemaRoot, JdbcToArrowUtils#allocateVectors is invoked which is time consuming, and this is not necessary since we use setSafe API in consumers. After remove this, the jmh result is about 2000 ns/op (3 coulumns with valueCount = 3000). I think this one should merged into 0.15 release. Closes #5472 from tianchen92/ARROW-6601 and squashes the following commits: fa97680f2 <tianchen> Improve JDBC adapter performance & add benchmark Authored-by: tianchen <niki.lj@alibaba-inc.com> Signed-off-by: Micah Kornfield <emkornfield@gmail.com>