Dynamic_templates vs Template API

In term of indexing performance.

Which one is faster? between using dynamic_templates vs Template API

If we assume the same mappings are applied in both cases (mappings can impact performance as the amount of work that need to be done varies) it does not make any difference if these are created through an index template or dynamic mapping.

Dynamic template and dynamic mapping perform similarly, you mean?