forked from danslo/ApiImport
-
Notifications
You must be signed in to change notification settings - Fork 0
jigneshthummar/ApiImport
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Magento introduced many performance and stability fixes between 1.4 and 1.6 to their Mage_ImportExport module. Unfortunately, the current catalog API still uses original Magento models which means product imports may take up to 5 seconds per product. This (modman) module is an attempt to provide an API interface to the ImportExport module so that you can do fast XMLRPC/SOAP based imports. You can simply provide your (array-based) import data in the exact same way as you would provide CSV files to ImportExport. Additionally, it provides support for: - Importing bundled products (absent in ImportExport) - Reindex imported product entities - Automatic creation of non-existent (dropdown) attribute values. - Useful events for enriching product entities from other Magento modules. The following is a very simple benchmark run done on a Virtual Machine running Debian, with 1GB RAM and without any MySQL optimizations. Your experience may vary. These are fully indexed results, mind you. Generating 5000 simple products... Starting import... Done! Magento reports 5000 products in catalog. ========== Import statistics ========== Total duration: 37.475983s Average per product: 0.007495s Products per second: 133.418781s Products per hour: 480307.612782s ======================================= Generating 5000 configurable products... Starting import... Done! Magento reports 10000 products in catalog. ========== Import statistics ========== Total duration: 68.099526s Average per product: 0.013620s Products per second: 73.421950s Products per hour: 264319.020648s ======================================= Generating 5000 bundle products... Starting import... Done! Magento reports 15000 products in catalog. ========== Import statistics ========== Total duration: 113.453821s Average per product: 0.022691s Products per second: 44.070794s Products per hour: 158654.859310s ======================================= Generating 5000 grouped products... Starting import... Done! Magento reports 20000 products in catalog. ========== Import statistics ========== Total duration: 62.553724s Average per product: 0.012511s Products per second: 79.931292s Products per hour: 287752.652192s =======================================
About
Boilerplate code between the Magento API and ImportExport, so that you can do fast XMLRPC/SOAP based product imports.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%