performance tests, use weaken to prevent leaks