Skip to content

Commit 9432bc3

Browse files
authored
Document profiler overhead (#471)
1 parent 019b0fb commit 9432bc3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getConfigTreeBuilder(): TreeBuilder
148148
->end()
149149
->end()
150150
->booleanNode('enable_profiler')
151-
->info('Use profiler to calculate and visualize migration status.')
151+
->info('Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.')
152152
->defaultFalse()
153153
->end()
154154
->booleanNode('transactional')

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DoctrineMigrationsBundle
22
========================
33

4-
This bundle integrates the [Doctrine2 Migrations library](http://www.doctrine-project.org/projects/migrations.html)
4+
This bundle integrates the [Doctrine Migrations library](http://www.doctrine-project.org/projects/migrations.html)
55
into Symfony applications. Database migrations help you version the changes in
66
your database schema and apply them in a predictable way on every server running
77
the application.

Resources/doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ application:
8383
# Whether or not to wrap migrations in a single transaction.
8484
transactional: true
8585
86+
# Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.
87+
# enable_profiler: false
88+
8689
services:
8790
# Custom migration sorting service id
8891
'Doctrine\Migrations\Version\Comparator': ~

0 commit comments

Comments
 (0)