public class FinalizeStatement extends Object
To run this and other benchmarks (you can run the class from within IDE):
mvn package && java -classpath postgresql-driver.jar:target/benchmarks.jar
-Duser=postgres -Dpassword=postgres -Dport=5433 -wi 10 -i 10 -f 1
To run with profiling:
java -classpath postgresql-driver.jar:target/benchmarks.jar -prof gc -f 1 -wi
10 -i 10 | Constructor and Description |
|---|
FinalizeStatement() |
| Modifier and Type | Method and Description |
|---|---|
Statement |
createAndLeak() |
static void |
main(String[] args) |
void |
setUp() |
void |
tearDown() |
public void setUp()
throws SQLException
SQLExceptionpublic void tearDown()
throws SQLException
SQLExceptionpublic Statement createAndLeak() throws SQLException
SQLExceptionpublic static void main(String[] args) throws org.openjdk.jmh.runner.RunnerException
org.openjdk.jmh.runner.RunnerExceptionCopyright © 2018 PostgreSQL Global Development Group. All rights reserved.