6aec1297ca
This PR was merged into the 4.4 branch.
Discussion
----------
[Messenger][Profiler] Collect the stamps at the end of dispatch
| Q | A
| ------------- | ---
| Branch? | 4.4 <!-- see below -->
| Bug fix? | no
| New feature? | yes <!-- please update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License | MIT
| Doc PR | N/A
Currently, only the stamps added before dispatching the message are shown in the profiler.
This PR adds a section to show stamps after dispatch (`HandledStamp`, `SentStamp`, ...).
![Capture d’écran 2019-07-23 à 15 44 04](https://user-images.githubusercontent.com/2211145/61717102-bb28f500-ad60-11e9-93ec-bb2875d176ce.png)
Commits
-------
ee68b1dfa7
[Messenger][Profiler] Collect the stamps at the end of dispatch
1.7 KiB
1.7 KiB
CHANGELOG
4.4.0
- added
VarDumperTestTrait::setUpVarDumper()
andVarDumperTestTrait::tearDownVarDumper()
to configure casters & flags to use in tests - added
ImagineCaster
and infrastructure to dump images - added the stamps of a message after it is dispatched in
TraceableMessageBus
andMessengerDataCollector
collected data
4.3.0
- added
DsCaster
to support dumping the contents of data structures from the Ds extension
4.2.0
- support selecting the format to use by setting the environment variable
VAR_DUMPER_FORMAT
tohtml
orcli
4.1.0
- added a
ServerDumper
to send serialized Data clones to a server - added a
ServerDumpCommand
andDumpServer
to run a server collecting and displaying dumps on a single place with multiple formats support - added
CliDescriptor
andHtmlDescriptor
descriptors forserver:dump
CLI and HTML formats support
4.0.0
- support for passing
\ReflectionClass
instances to theCaster::castObject()
method has been dropped, pass class names as strings instead - the
Data::getRawData()
method has been removed - the
VarDumperTestTrait::assertDumpEquals()
method expects a 3rd$context = null
argument and moves$message = ''
argument at 4th position. - the
VarDumperTestTrait::assertDumpMatchesFormat()
method expects a 3rd$context = null
argument and moves$message = ''
argument at 4th position.
3.4.0
- added
AbstractCloner::setMinDepth()
function to ensure minimum tree depth - deprecated
MongoCaster
2.7.0
- deprecated
Cloner\Data::getLimitedClone()
. UsewithMaxDepth
,withMaxItemsPerDepth
orwithRefHandles
instead.