CPUbenchmark.net is the best way to compare 2 CPUs.
Directly comparing cores and speed is only useful across the same architecture, comparing brands and different generations should only be done via benchmarks.
I can't provide any feedback about if those CPUs are enough for immich as I do not use it.