Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page
To get an automatically pre-populated shop, you can use the following github repository: PrestaShop performance project
Before launching a benchmark of PrestaShop, you need to put a few entries in your database.
The PrestaShop shop Generator will help you to do this.
First clone the project from the following url, and set the number of entries you want for each main entities:
git clone https://github.com/PrestaShop/prestashop-shop-creator cd prestashop-shop-creator composer install
The default settings is a rather small shop (about 100 products).
Creating the "app/config/config.yml" file Some parameters are missing. Please provide them. shop_id (1): customers (100): manufacturers (100): suppliers (10): addresses (100): aliases (100): categories (100): warehouses (2): carriers (3): specific_prices (100): attribute_groups (10): products (100): attributes (10): carts (1000): cart_rules (100): customizations (10): features (100): feature_values (5): orders (10): guests (10): order_histories (6): range_prices (100): range_weights (100): product_attributes (5): images (100): order_messages (100): deliveries (100): connections (1000): product_suppliers (10): order_carriers (2): order_details (10): feature_products (5): stores (100): profiles (10): stock_availables (1): langs ([fr_FR, en_US]):
If you want to customize later the number of entities, just modify the file
Then run the following command to generate your initial dataset, which will be stored in the
Actually it’s quite simple. Just copy the content of the
generated_data folders (three folders should be
there: data, img and langs) in the PrestaShop
install/fixtures/fashion folders (overwrite the folders already
Then launch a standard PrestaShop install.
Make sure you’re not in debug mode! In
config/defines.inc.php you should have:
The smarty cache should be enabled, but the multi-front synchronisation should be disabled for best performances. (those are the default settings).
Make sure also to have at least french and english enabled and the internationalization page.
If you are running a PrestaShop version from source, properly setup your environment for production:
export SYMFONY_ENV=prod export SYMFONY_DEBUG=0 composer dump-autoload --optimize php bin/console cache:clear --env=prod --no-debug
Write down all the relevant informations which have an impact on your benchmark results: