if you only care about vanilla minecraft and performance then bedrock is the best choice. If you want to have mods, raytracing shaders (without actual nvidia rtx) or modded servers then java is way better but the more things you are adding the more performance heavy it gets