Diablo Game Questions Max Legendary Gem Leveling

Good Evening!

I have a question in regards to legendary gem levels: What is the max you can level a gem beyond your current Greater Rift before it becomes not worth the effort? Is it percentage based or a flat +levels?