I'm currently setting a custom mark on each page transition by running window.performance.mark('transition-start'). Afterwards when an above-the-fold portion of the page is interactive, I create another mark, window.performance.mark('transition-end'). When the user performs multiple page transitions in this single page application, multiple marks of the 'transition-start' and 'transition-end' occur.
When using window.performance.measure('transition', 'transition-start', transition-end'), can I be sure that the latest marks will always be used, considering multiple marks of the same name exist? I've tested this in Firefox and Chrome and see the latest marks used, but I can't find documentation on this use case.