I was able to save 10 frames on room 1 by dashing through sparky instead of jumping through it which saves a lot of lag frames too. The only problem is, that it generates much more lag frames in the early part of room 2, therefore I couldn't preserve any improvements.
What I'm trying to achieve is resync the RNG (jumping an extra time before sparky) and sacrifice as many (lag) frames as required to avoid the lag frames on room 2 early part.
Note that the movie only edited to 1330th frame (you need to remove 10 frames before room 2's input part).