Interesting, some other misc side effects cause the same perf problems: e.g. getEnvironment.