Added some trace to see the times taken by creating snapshots.