With to the dual-speed gearbox for electric vehicles as the research object, through the analysis of the software of the transmission system, the normal load per unit length, the maximum contact stress and the transmission efficiency in the gear meshing process we discussed in this paper. The three performances before and after the implementation of the gear microgeometry are compared. The results showed that the transmission error is not smooth and the tooth surface load is distributed on the tooth edge, suggesting a large meshing impact indicating that the gears need to be modified to improve the stress conditions so as to reduce the noise and extend the service life of the gears. After the gear modification, gearbox performance is improved and the gears have less stress. The carrying capacity and life of the gears have been improved.