How a PDF merge actually works
A PDF is a container of numbered objects: pages, fonts, images and streams of instructions, tied together by a page tree and a cross-reference table. Merging does not re-render anything. It reads the page tree of each input, copies the page objects and the resources they point at into a new document, and writes a new cross-reference table for the result.
That is why a merge is fast and lossless: the text stays text, so the merged file is still searchable, the vector content stays sharp at any zoom level, and page size and orientation are copied per page rather than forced into a single size. It is also why the merged file can be larger than the inputs added together - each input brings its own fonts and images along, and nothing is deduplicated between them.
The copy happens in your browser tab. A 20-page merge is usually a fraction of a second; the limiting factor is reading the files off disk, not the page copying.