tree.spec.js -> profiler + builder