There is a standard spec and test model for all silicon chips called 'process corner'. The test procedure involves variation of supply voltage and environment temperature. When you outsourcing silicon chips, you must design the specs and setup threshold for different corner. If the test results pass designated target, that shipment is acceptable.
Of course silicon chips varies from chip to chip. There are superior and inferior individuals even within the same shipment. So chances are that you'll have a chip that runs well in high temperature corner, while the other one from the same shipment will perform poorly. To overcome this situation, designers will tend to use over-spec design. This is why you may sometimes 'overclock' your computer, while others would fail, for the same model.
The truth is: Apple choose Samsung as provider in the beginning. The reason why they choose Samsung is quite simple: TSMC's 16nm production line is not ready in early 2014. I knew that because I was participated in TSMC's plan. Apple had designed the spec, and Samsung had met with the standard. But Samsung failed to meet the quantity due to low yield, so Apple transferred some of the order to TSMC. However, it turns out TSMC chip is outperformed Samsung chip in some circumstance.
In other words, the performance behavior of iPhone 6s with Samsung chip is considered as 'standard' model. iPhone 6s with TSMC is 'superior' than original design.
This is exactly what happened here.