Benchmarking performance of the migration

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Migrate allows you to benchmark the migration and get execution time.

$ drush mi Migration --instrument // Capture performance information (timer, memory, or all)

To add custom tracking you can surround your code using

migrate_instrument_start($descriptiveName);
// your code
migrate_instrument_stop($descriptiveName);

You can get periodic feedback using

$ drush mi Migration --instrument --feedback="1000 items" // Display a progress message every 1000 processed items or less

Help improve this page

Page status: Not set

You can: