New in Symfony 6.1: Serializer Profiling
The Symfony Serializer component design is based on the chain-of-responsibility pattern. That makes it hard to know which normalizers and encoders are used during the entire (de)serialization process.
That's why in Symfony 6.1 we've added a new Serializer panel in the Symfony Profiler:
This feature decorates the
serializer service to trace the activity of the
decode() methods calls. All normalizers and encoders are
decorated as well, so you'll get the full details and total duration of all
You don't need to add or configure anything to enjoy this feature. Just update your project to Symfony 6.1 and you'll get the new debugging information in the Symfony profiler.