B
B
byymster2014-06-10 12:53:41
Magento
byymster, 2014-06-10 12:53:41

What do you use for local Magento development?

I have been using a bunch of Vagrant and MageVagrant for a long time . It suits almost everything, BUT the page load time is about 15-30 seconds (on the hosting the same site loads in 1.28 seconds), which is somehow not very good.
Tell me, what is better to use for developing sites under Magento on a local machine?
Interested in the presence of Xdebug'a and the speed of loading pages to be faster.
I use:
Mac OS X 10.9 (Intel Core i3 processor, 8GB memory)
PhpStorm
Xdebug + Webgrind
LiveReload
Vagrant + Virtualbox (1GB RAM allocated for the virtual machine) + MageVagrant (php 5.3.2, mysql 5.1.73)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Puma Thailand, 2014-06-10
@byymster

try something to give memory and enable the cache

D
Dmitry Fedyuk, 2014-06-10
@dfediuk

  1. As a rule, any software in a virtual machine environment runs many times slower than in a normal environment of the computer's main operating system.
    Ditching Vagrant and Virtualbox and installing the software required for development (PHP interpreter, web server, XDebug) will directly speed up Magento by several times .
  2. All of the listed software (PHP interpreter, web server, XDebug) is free and comes with open source, so if there is no compiled version specifically for your operating system, you can compile it yourself .
    Therefore, XDebug is available in all environments (operating systems) that developers use to develop online stores, including Mac OS X 10.9.
  3. Modern versions of the PHP interpreter (5.5.13) are noticeably faster than the outdated PHP 5.3.2 version you are using, which was released 4 years ago on March 4, 2010.
  4. A noticeable acceleration of Magento's work is provided by the correct MySQL setup, and especially the InnoDB subsystem, which is intensively used by Magento,
  5. In addition to programmatic configuration, MySQL noticeably speeds up the operation of placing databases on a separate storage medium.
    In particular, one easy way to speed up Magento on your local machine is to buy a fast external storage drive
    (which can be connected via a normal USB interface) and use that drive only for MySQL databases.
  6. Significantly speeds up the work of Magento using the PHP accelerator .
    A few years ago the best solution for Magento was the APC accelerator , nowadays the accelerator (called OPCache ) is already included in the core of modern versions of PHP.
  7. Under normal production conditions, Magento is greatly accelerated by the inclusion of data caching and a mode that Magento calls "compilation" (almost irrelevant to the generally accepted meaning of the word "compilation", the technology is to automatically merge many files with program code into a single one, which on reduces the number of file system accesses by several orders of magnitude).
    In development conditions, data caching and "compilation" are usually abandoned, because in these modes the behavior of the system may not always correspond to the current state of the program code and data.
  8. In such conditions, a significant ( up to 50% with disabled caching ) performance gain is provided by installing a special extension for the PHP interpreter: “ Fast Magento Core ”.
    "Fast Core Magento" implements the low-level, most resource-intensive and never changed by the application programmer Magento operations in C, which speeds them up by an order of magnitude.
    An example of such operations is working with XML.
    The distribution of Magento Community Edition 1.9.0.1 contains 884 XML files and most of them will be processed on every page load if the cache is disabled, and this will take 30-40% of the total CPU time required to generate the web page of the Internet storefront -shop.

M
maxclax, 2014-12-01
@maxclax

what prevented you from using MAMP Pro?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question