With the development of laser technology, the peak power of laser pulses has been increased to terawatt, petawatt or even exawatt levels[1–3], which has promoted the progress of high-field ultrafast laser science by driving particle acceleration[4–6], secondary radiation such as electromagnetic pulses emission[7], terahertz systems[8–10], quasiparticles emission[11], and extreme electric and magnetic fields excitation[12,13]. On the other hand, free electron lasers (FELs) have been proven excellent detection light sources due to their wide and continuously adjustable spectral coverage, high beam quality and short pulse duration[14]. Recently, researchers have successfully performed attosecond pump–probe experiments and explored the application of this novel technique in ionization dynamics[15]. High-precision time synchronization is the key factor for successful implementation of ultrafast pump–probe experiments, which have been performed more and more frequently on laser facilities and FELs. Reducing the timing jitter between laser pulses is invaluable for enhancing the performance of lasers, thus achieving efficient and stable operation in areas such as precise measurement and high-field ultrafast laser physics. In scientific research projects that involve large-scale time synchronization, such as FELs and particle accelerators, the active correction of timing jitter plays a crucial role[16]. By precisely correcting timing jitter, it is possible to ensure that all systems achieve accurate collaborative operation, thereby liberating the full value of large-scale scientific facilities. Furthermore, for applications related to the laser field, such as the generation of high harmonics[17] and attosecond pulses[18], optical phase-locked electron emission[5] and attosecond electron pulse generation[19], the timing jitter needs to be controlled within one optical cycle, that is, at the attosecond level.