There's no benefit of cooking it for more than 15 minutes. All you are after is to activate the thc. All it takes is a low heat of around 200 degrees.
The idea of cooking longer is usually because you haven't ground the weed and are just trying to extract the thc from the rest of the leafy material. If you grind it then you'll be using everything.