The speed of the crank varies in all engines as it rotates. The energy to compress the air charge, accelerate the piston, and a host of other things has to come from some place.
Diesels, especially at idle, have drastic and multiple variations in crank speed.
The sources are many, but the injection event is one of the major ones. To have the fuel ignite at idle, it must be injected fairly early. Thus bucking the piston on the way up, slowing the crank a great deal more than say a gas engine. Then again, gas engines don't need that much timing at idle. They rattle too when you add that much.
Then on the power stroke, a diesel charge burns fairly quickly in the rich air environment and stops burning abruptly. I didn't show it on the pressure chart, but the pressure will actually fall to or below the adiabatic curve at idle. Usually well before 90° ATDC.
Pilot injection softens the blow by injecting an early, but small amount of fuel to warm up the chamber for the main charge which comes way later than it would in a non-pilot scheme. The change in crank speed is not nearly as abrupt.