First and foremost do note that I have not done any tests, simply going on theory here, but I would assume the edge collider would be faster simply due to it being only 2 points. I would assume that they essentially use a ray cast for the edge collider, while using a lot more for the box collider; instinctively I’d assume that they put all the sprites on the same z level and treat it as a 3d object with a single face and use the 3D collisions of the set of sprites.
I don’t know what the performance is in unity but I know that Box 2D is well documented even with stress tests and examples. If you find the name of the function in Box 2D (the engine used for 2D physics in unity) you can probably find allot of general stress test information and pre built examples web page ready to test out with number of prims and such.