Skip to content

hkirsman/drupal7_benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drupal 7 Benchmark

This is a tool for benchmarking hardware you're Drupal runs on. It's basically just a site with lot of preinstalled contrib modules, nodes and it pings your admin/config page. You have to install the site yourself (basic instructions below). Site login username and password are both - benchmark but these are prefilled.

Installation

First clone the site:

git clone https://github.com/hkirsman/drupal7_benchmark.git

a) Lando

cd drupal7_benchmark
lando start
lando composer install
lando db-import db.sql

b) Local install

Create new database. Here's how you would do it in console after logged in to mysql:

CREATE DATABASE d7_hardware_comp;
CREATE USER 'd7_hardware_comp'@'localhost' IDENTIFIED BY 'd7_hardware_comp';
GRANT ALL PRIVILEGES ON d7_hardware_comp.* TO 'd7_hardware_comp'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Install Drupal

lando composer install

Import the database. Password is d7_hardware_comp (as was defined above).

mysql -u d7_hardware_comp -p d7_hardware_comp < db.sql

Open the new site and log in. Username and password are both benchmark and these are already filled in. After login you are redicted to admin/benchmark and the test will start.