Comparator hysteresis input signal filter
This is generally a bad circuit. C1 will slow the operation of the hysteresis through R2, so that as the circuit gets to the threshold, it's likely to amplify noise, and give a very ragged output, while C1 prevents the inputs moving to different voltages quickly.
Split R1 into two series resistors, and apply C1 to the mid point. Now the non-inverting input can move quickly when the output changes.
A good plan will be to put a small capacitor, a few pFs to a few 10s of pFs, across R2, to speed up the application of the hysteresis.