Only measure the time for indexing