Gassing, operating system weight (BCG + Buffer weight), lubrication, and spring weight factor into the rearward stroke.
Buffer bumper, buffer weight, spring weight, BCG weight, lube, cartridge presentation, and feeding factor into the forward stroke speed.