Added performance logging, removed set hashing