"Dynamic Branch" node not working correctly

There is this node in the material editor:

The tooltip says:

That makes sense to me, I understand that as “This node has some cost, but once you mask more than 20 instructions it’s worth it and will improve performance”.

But that node doesn’t work. No matter what alpha (I used the vertex normal for testing), the performance does not improve, it’s always doing the full calculation for the whole material. Is that a bug? :confused:

Currently this node does nothing. For dynamic branching use custom node. I’ve slightly touched the issue in this thread, so you are more than welcome to follow the issue tracker link there and vote on feature request.