diff --git a/.gitignore b/.gitignore index 490413d15..d2f5f6901 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ lib/Doctrine/DBAL .idea vendor/ composer.lock +/tests/Doctrine/Performance/history.db diff --git a/phpbench.json b/phpbench.json new file mode 100644 index 000000000..74fdef412 --- /dev/null +++ b/phpbench.json @@ -0,0 +1,15 @@ +{ + "bootstrap": "vendor/autoload.php", + "path": "tests/Doctrine/Performance", + + "extensions": [ + "PhpBench\\Extensions\\Dbal\\DbalExtension", + "PhpBench\\Extensions\\XDebug\\XDebugExtension" + ], + + "storage": "dbal", + "storage.dbal.connection": { + "driver": "pdo_sqlite", + "path": "tests/Doctrine/Performance/history.db" + } +}