Im not sure theres an actual optimal time.
We do it for 20 minutes in my gym, with double jumping and fast jumping and crossovers in between whenever called for 10 seconds or so, keeps things mixed up.
Pick up a book called "Jump Rope Training" by Buddy Lee. Its an interesting read.