test: add stress test for performance profiling.