added comparison time profiling