The infinite elements for edge based finite-element methods (FEMs) have been shown effective for open boundary problems. In the infinite elements, electromagnetic fields are expressed in terms of radially decaying basis functions. On the other hand, the perfect matched layer has widely been used for FEMs for high-frequency problems. In this paper, numerical performance of both methods is comparably discussed. The numerical experiments show that the former has higher computational efficiency.