[perf] Measure define_layout benefits