check https://beyondgrep.com/feature-comparison/ for a detailed comparison
but also in terms of speed, including the fact that ripgrep allows greping by default in compress files, many different encoding and more!
This software is really a must-have for anyone who spends some time on the CLI
It's old, but here'd a feature comparison of ag, git grep, ripgrep and others: