new metric for comparing trace