Hiding many elements with opacity:0 is slower than hiding with visibility:hidden
It looks like we spend more time in RenderLayer::updateLayerPositionsAfterLayout() with opacity, presumably because we have a large RenderLayer tree and don’t short-circuit that part. With visibility:hidden we probably have a smaller layer tree.