Skip to content

[DbalLogger] Since 2.8 and the use of iconv_* dev/test env are really slow #18539

@JEDIBC

Description

@JEDIBC

Hi,

After migrating a project from 2.7 to 3.0 I noticed that loading fixtures and my test suite became really slow (PHP 5.6.20). A blackfire profiling on bin/console doctrine:fixtures:load -n --env=test shows that iconv_* is responsible :

iconv_strlen

iconv_substr

The fixtures loaded are only 20 entities but each one stores a 100ko xml in database.

On 2.7, mb_strlen wasn't slowed by the size of the data :

mb_strlen

In the mean time I can disable logging & profiling on DBAL for test env via config_test.yml but it is quite penalizing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy