Skip to content

Bad performance #3149

@Chi-teck

Description

@Chi-teck

I've installed the latest console version (1.0.0-rc15) and discovered that it works quite slow. On fresh site installation (Drupal v8.4.x, PHP 7.0) it takes about 2.5 seconds (!) to execute a simple command like site:status.

/var/www/d8/docroot[8.4.x]-> time drush st > /dev/null

real	0m1.081s
user	0m0.964s
sys	0m0.084s

/var/www/d8/docroot[8.4.x]-> time drupal ss > /dev/null

real	0m2.562s
user	0m2.204s
sys	0m0.268s

The benchmark above suggests that Drupal console spends at least 1.5 second on something not related to Drupal bootstrapping.

Note that this happens on any command executed in Drupal document root directory even drupal -v is very slow.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions