Do not add a production export solely for measurement or copy the algorithm into a “benchmark implementation.” Use fresh children and private temporary roots for cold/process-memory samples. Warm ...