For the on-orbit service spacecraft attitude tracking task with external disturbances, considering the limited capacity of its actuators and high control performance required, an improved performance constraint control algorithm based on command filters is proposed in this paper. For the proposed control algorithm, before the theoretical control signal is transmitted to the actuator, it needs to be filtered by the command filter. This filter can constrain the rate, magnitude, and bandwidth of the signals, smooth the command signals and avoid peak interference. In terms of performance constraints, inspired by the performance constraint curve, this paper uses the determined points to re-design a new performance constraint function, which shows the maximum settling time parameters, allowing designers to pre-defined this limited time of the closed-loop system according to needs. Therefore, the maximum settling time of the actual closed-loop system will be less than the pre-defined maximum settling time. The controller based on the command filter is designed, and on this basis, the corresponding performanceconstrained control algorithm with pre-defined maximum settling time guaranteed is proposed. Through the proof and simulation, the rationality and effectiveness of the proposed controller are further demonstrated.