I need to compare performance of a web-application before and after some code change. We have several pages (call them $P_1$ and $P_2$; in practice there are more than 2), and for each we compare loading times. Let's say samples of $P_i$ loading time before the change are $s_{i1},s_{i2},\ldots$ and after the change $s'_{i1},s'_{i2},\ldots$. Currently we apply the Mann–Whitney U test to these samples separately for each $i$. However, I noticed that quite often the metric changes for all pages in the same direction, but is considered to be insignificant.
Is it a bad idea to take the union of the populations, so the test is applied to $s_{11},s_{21},s_{12},s_{22},\ldots$ and $s'_{11},s'_{21},s'_{12},s'_{22},\ldots$? At least I think this could make some of the cases described above significant, not be too likely to have false positive if (say) the change actually makes half the pages faster and the other half slower, and doesn't seem to violate the test's assumptions (as listed e.g. at https://statistics.laerd.com/statistical-guides/mann-whitney-u-test-assumptions.php).
Even if the above is a good idea, is there another, even better way?