Here's a fancy trick that will make you cry!
Label and date the bag with a permanent marker and store in your freezer.
It took me about 15 minutes to do 8 onions. I now have 6+ cups of diced and frozen onions, ready for me the next time I need to cook.
Frozen onions can be placed directly in a hot pan, no need to defrost first.