I’ve tended to find more success retaining a piece of vocabulary by going deep on it in a single key, rather than spinning a lick through all 12 keys once or twice. Now, once I’ve really spend the time in each key, THEN a more rapid 12-key shed can be effective. But if the proper groundwork isn’t laid first, I generally discover later that while I thought I was gaining something in 12 keys, really I only grasped it in a few, and the rest were just lucky fingers. Not always the case, of course, but worth considering and experimenting. Your milage may vary.
More on ii-V-I’s:
How to Think Visually About II-V-I’s: A Lick to Know in 12 Keys (the PDF has a good visual framework)
Practicing II-V-Is in 12 Keys (An oldie where I shed 12 keys improvisationally rather than taking a single pattern through the keys.)