Spicy Lyrics

Spicy Lyrics got a lot smoother

118ms

The longest Spotify now freezes when you open the lyrics page. The previous release froze for 576 ms, and the original for 1,393 ms.

Before and after

Each card is one thing you do with Spicy Lyrics. A freeze is the longest moment Spotify stopped drawing. At 60 Hz, anything over about 17 ms is a dropped frame. Shorter bars are better.

Lyrics in the sidebar still stutter more than the full page does. That's the roughest spot left.

What changed

A workaround for a Spicetify bug

On Spotify 1.3, the current Spicetify release (2.45.1) re-checks every element on screen each time anything on the page changes. During sidebar playback that added up to more than a second of work every 15 seconds.

Spicy Lyrics now marks elements as already checked, so that scan has nothing left to do. Spicetify has already fixed the bug in its code, and the workaround switches itself off once a newer Spicetify release is installed.

Leaner style rules

A few of our own style rules made the browser recalculate the look of the whole Spotify window whenever any part of it changed, including every time a new lyric line came up.

We rewrote them to match exactly the same elements as before. The largest single recalculation went from 3,255 elements to 864.

How we measured

One Windows PC running Spotify 1.3.1.234 and Spicetify 2.45.1, playing the same song from the same point every time. Each test ran three times, and each number is the middle result.

The previous release and this update were measured side by side. The original numbers come from an earlier measurement that used a slightly different method. Your results will vary with your computer.