Quadrature-based moment methods (QBMMs) are numerical methods to close moment equations derived from a population balance equation. There are many variants, most of which are based on the same closure algorithm that can be divided into three subroutines: First, computing the recurrence coefficients of orthogonal polynomials from a moment sequence, second, finding the associated Gaussian quadrature rule by solving an eigenvalue problem, and third, closing the moment equations using that quadrature rule. Since each of these steps may be carried out billions of times in large-scale simulations, knowing the potentials of optimization is the key to making QBMMs as efficient as possible. In this work, we investigate in detail the performance and accuracy of QBMMs with different configurations and over a wide range of input moment sets. Our major findings were the following: Available algorithms to compute the recurrence coefficients are about equally sensitive to the input moment sequence. There are considerable differences in performance, but the contribution to the overall computational costs of the closure algorithm is negligible. The standard method to solve the eigenvalue problem is insensitive to the input moment set in contrast to a less robust but slightly faster alternative that involves solving a Vandermonde system. For relatively simple physical problems, the overall computational costs are mostly determined by the eigenvalue problem, whereas closing the moment equations becomes important in the presence of more complex processes with particle-particle interactions. The complete source code we implemented and used for our numerical investigations is publicly available.