A system and method for performing electrosurgical procedures are disclosed. The system includes an electrosurgical generator adapted to supply electrosurgical energy to tissue in form of one or more electrosurgical waveforms having a crest factor and a duty cycle. The system also includes sensor circuitry adapted to measure impedance and to obtain one or more measured impedance signals. The sensor circuitry is further adapted to generate one or more arc detection signals upon detecting an arcing condition§. The system further includes a controller adapted to generate one or more target control signals as a function of the measured impedance signals and to adjust output of the electrosurgical generator based on the arc detection signal. An electrosurgical instrument is also included having one or more active electrodes adapted to apply electrosurgical energy to tissue.