Firebase providing the way to write multiple independent functions.
Does it affect the cost?
Does it affect performance if REST client will use keep-alive connection to one function vs multiple (same domain)?
Does it affect the cost?
No. You pay per invocation, not per deployment.
Does it affect performance if REST client will use keep-alive connection to one function vs multiple (same domain)?
No.