4 ms·
It depends a lot on things like how long the program runs for, and whether you consider spare cores on the machine to be "taking up CPU" or not. Profile-guided
by zigzigzag 10y ago
It depends a lot on things like how long the program runs for, and whether you consider spare cores on the machine to be "taking up CPU" or not.
Profile-guided optimisations win you about 20% in most industrial Java, apparently. So if you have a server that starts, warms up in say 30 seconds, and then runs for a week, you can see that it is easily profitable. For a command line app that lives for 500 msec, not so much.