Earlier quoted context omitted.
> when compiling Java/sbt projects Are you comparing a binary being run under dynamic binary translation with a native binary? Not really an honest comparison, if that's the case.
No idea if that's the case, but I wouldn't have expected Java of all things to be run under binary translation.
Depends which version you have installed. It's a taken a while for the native versions to reach the mainstream channels, so unless you've specifically installed an M1 build you probably have an x86 build being run under translation.