Hitting an enemy gives you 1% Attack Speed and 0.5% Dodge Chance for 4 seconds, stacking up to 15 times. You can level this Gem all the way up to rank 150. Every upgrade will increase the Dodge Chance by another 0.01% weapon damage up to a maximum of 2% per stack total.
On top of that the rank 25 bonus increases your Cooldown Reduction by 1% per stack. On Rank 150 with 15 stacks active this Gem will give you at 15% Increased Attack Speed, 30% Dodge Chance and 15% Cooldown Reduction. Generally only skills with a proc coefficient can give you a Gogok of Swiftness stack, meaning that Pets and item procs will give you no stacks. However, this is not a hard rule and there are exceptions.
Gogok of Swiftness Best Use
Mostly a Support Gem but also played on some Damage Builds: One of the best support Gems in the game but also commonly used on Cooldown dependent DPS builds like the Vyr-Chantodo Archon Wizard.
Legendary Gem in Diablo 3
Legendary Gem Creation:
If you need extra Legendary Gems to level up, you can make the Rift Guardian in any Greater Rift drop a new Rank 0 Gem by removing all the Legendary Gems with the same name from your Equipment, Inventory and Stash.
The safest way to do that is to put them into the Inventory of different character.