Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Drupal 7 performance boost not improving #204

Open
leolandotan opened this issue Jan 13, 2018 · 0 comments
Open

Drupal 7 performance boost not improving #204

leolandotan opened this issue Jan 13, 2018 · 0 comments

Comments

@leolandotan
Copy link

leolandotan commented Jan 13, 2018

Good day, I have setup this solution on my Mac 10.12.6 + Docker 17.12.0-ce-mac47.
My docker-compose.yml file looks like:

version: '3'
services:
  web:
    build: docker/php
    volumes:
      - ./docroot:/var/www/html/www
    ports:
      - 80:80
  db:
    build: docker/mysql
    volumes:
      - ./db_data:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: default
      MYSQL_USER: default
      MYSQL_PASSWORD: default

Using the Devel module, I got an output of:
d7-exec-time

I have run docker-osx-dev inside my project root where it looks like:

total 8
drwxrwxrwx@  9 leotan  staff   306B Jan 13 18:35 db_data
drwxr-xr-x   4 leotan  staff   136B Jan 13 18:33 docker
-rw-r--r--   1 leotan  staff   359B Jan 13 18:35 docker-compose.yml
drwxr-xr-x  30 leotan  staff   1.0K Jun 22  2017 docroot

then did a normal docker-compose up -d.

With docker-osx-dev running with no errors, when I have some changes it outputs something like:

2018-01-13 18:23:17 [INFO] Syncing db_data/ibdata1: <f..t....
2018-01-13 18:23:19 [INFO] Syncing db_data/ib_logfile0: <f..t....
2018-01-13 18:23:19 [INFO] Syncing db_data/ibdata1: <f..t....
2018-01-13 18:23:20 [INFO] Syncing db_data/ib_logfile1: <f..t....
2018-01-13 18:35:50 [INFO] Syncing db_data/ea0dd55c417a.pid: *deleting
2018-01-13 18:35:50 [INFO] Syncing db_data/ib_logfile0: <f..t....
2018-01-13 18:35:50 [INFO] Syncing db_data/ib_logfile1: <f..t....
2018-01-13 18:35:50 [INFO] Syncing db_data/ibdata1: <f..t....
2018-01-13 18:35:53 [INFO] Syncing db_data/ib_logfile0: <f..t....
2018-01-13 18:35:53 [INFO] Syncing db_data/ib_logfile1: <f..t....
2018-01-13 18:35:54 [INFO] Syncing db_data/dab9b0d8fd3d.pid: <f+++++++
2018-01-13 18:36:06 [INFO] Syncing db_data/ib_logfile1: <f..t....
2018-01-13 18:36:07 [INFO] Syncing db_data/ib_logfile1: <f..t....
2018-01-13 18:36:15 [INFO] Syncing db_data/ib_logfile0: <f..t....
2018-01-13 18:36:15 [INFO] Syncing db_data/ib_logfile1: <f..t....
2018-01-13 18:36:15 [INFO] Syncing db_data/ibdata1: <f..t....

Whether docker-osx-dev is on or not, I still get the same Page Execution Time. Should that be lower when docker-osx-dev is running and higher if I'm running docker-compose.yml without docker-osx-dev?

Update

I tried the method of testing from #161 (comment) but when docker-osx-dev is not running and I do a touch testfile, it gets created in the container. I accessed the container also using docker-compose exec web /bin/bash. What am I doing wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant