perf overhead on context flattener?