Just like smoking its going to depend on the type and quality of the pot.
Its faster if you through the weed in a pan in the oven at about 200 degrees for a half hour. Then put it through a coffee grinder. Take the amount of oil for the recipe, put it in a pan,stir in the powdered weed and let it simmer on low for about 15 minutes. Stri good, let cool off a little then add to the recipe. I use between7 and 10 grams for my brownies depending on the potency.