Most A340 takeoffs are done on the FLX setting (which can appear sluggish), which is specifically designed to reduce engine wear.
You will get a derated T/O out of a -400 for a lot longer than a FLX out of a 340 for MTOW as the T goes up.
For MTOW it is rare to see a FLX on a 340 packs on T/O