This is an extended idea that was originally given to a guitar student to help them improve their speed picking while changing strings on every new beat.
This extended idea is ideal for building up your endurance. For a more speed based approach, you can play one or two bars at a time so you can really push yourself.
Here is the Guitar Pro 6 tab for this lesson:
John Taylor - guitar and bass instructor for Mile High Shred.