stas29a / doctrine
Doctrine 2 fork with performance improvements
v2.5.5
2016-09-10 18:51 UTC
Requires
- php: >=5.4
- ext-pdo: *
- doctrine/cache: ~1.4
- doctrine/collections: ~1.2
- doctrine/common: >=2.5-dev,<2.7-dev
- doctrine/dbal: >=2.5-dev,<2.6-dev
- doctrine/instantiator: ~1.0.1
- symfony/console: ~2.5|~3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
- symfony/yaml: ~2.3|~3.0
Suggests
- symfony/yaml: If you want to use YAML Metadata Mapping Driver
- 2.5.x-dev
- dev-master / 2.5.x-dev
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.5.0-RC2
- v2.5.0-RC1
- v2.5.0-beta1
- v2.5.0-alpha2
- v2.5.0-alpha1
- 2.4.x-dev
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- 2.4.0-RC2
- 2.4.0-RC1
- 2.4.0-BETA2
- 2.4.0-BETA1
- 2.3.x-dev
- v2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.3.0-RC4
- 2.3.0-RC3
- 2.3.0-RC2
- 2.3.0-RC1
- 2.3.0-BETA1
- 2.2.x-dev
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-RC1
- 2.2.0-BETA2
- 2.2.0-BETA1
- 2.1.x-dev
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.0.x-dev
- dev-dev-last
- dev-develop
- dev-fix/#5923-disambiguate-identifier-hashing
- dev-develop-pre-2016-07-08
- dev-prototype/merge-detach-removal
- dev-mapping-as-objects
- dev-hotfix/#1342-paginator-functional-test-integration-take2
- dev-custom-collections
- dev-persister-factory
- dev-config-filter-params
- dev-hotfix/DDC-3022-wrong-arbitrary-join-sql
- dev-fix-ddc2862-test
- dev-DDC-1888
- dev-DDC-1889
- dev-DDC-1509
- dev-DDC-1383
This package is not auto-updated.
Last update: 2024-05-01 17:32:35 UTC
README
This fork contains some performance optimizations. Currently implements:
- Batch inserts for processing big amount of entities
- Disabling internal events when you need
The main object you need is PerformanceConfiguration
.
Here is an example for demonstration:
//Getting performance configuration
$performanceConfiguration = $em->getPerformanceConfiguration();
//Disable internal events
$performanceConfiguration->setIsEventsSystemEnabled(false);
//Enable batch inserts
$performanceConfiguration->enableBatchInsert();
//Set how many entities will be inserted per one insert
$performanceConfiguration->setMaxPerInsert(500);