A food processor can save you a lot of time here. If you’re chopping by hand, make sure to use a sharp knife and cut the onion into very small pieces.