You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the PHPUnit test suite recreates the database schema on each invocation of TestUtil::getConnection() which is highly inefficient and costly concerning performance, especially on platforms where schema recreation consumes a lot of time.
With this patch the database schema is initilaized once per PHPUnit run, increasing overall test suite runtime significantly.
For example using SQL Anywhere, database creation takes about 4-5 seconds which results in a complete test suite runtime of several minutes. With this patch the complete test suite runs in about 12-15 seconds _!_.
The text was updated successfully, but these errors were encountered:
Ocramius
changed the title
DBAL-1123: [GH-779] Initialize database schema only once per PHPUnit run
DBAL-1123 #779 Initialize database schema only once per PHPUnit run
Jul 22, 2017
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of deeky666:
Url: #779
Message:
Currently the PHPUnit test suite recreates the database schema on each invocation of
TestUtil::getConnection()
which is highly inefficient and costly concerning performance, especially on platforms where schema recreation consumes a lot of time.With this patch the database schema is initilaized once per PHPUnit run, increasing overall test suite runtime significantly.
For example using SQL Anywhere, database creation takes about 4-5 seconds which results in a complete test suite runtime of several minutes. With this patch the complete test suite runs in about 12-15 seconds _!_.
The text was updated successfully, but these errors were encountered: