measure the cost of migration

