Skip to content

afilina/doctrine-perf

Repository files navigation

Doctrine Performance Optimization

These are the examples used in my conference talk.

Create a database to match this configuration:

$dbParams = [
    'driver' => 'pdo_mysql',
    'dbname' => 'doctrine_perf',
    'user' => 'root',
    'password' => '',
];

./setup.sh to install the dependencies and prepare the database.

./run-all.sh to execute all of the benchmarks.

php ./benchmarks/[filename] to run individual benchmarks.