[fix] Correctly test against `performance.memory` to see if this is allowed