It was Lewis Hamilton who, in 2018, coined the term 'party mode', to describe the engine settings that gave maximum performance, and in doing so brought to fans' attention procedures that actually go back way before the introduction of the hybrid power unit in 2014.
Even the venerable Cosworth DFV had some adjustability on its fuel injection, and some historic racers still know that the trick to starting these was to click the cam on the fuel metering unit to 'full rich' and then back to 'one off lean' when the engine warmed up. When racing at altitude, in Mexico for example, the engines ran better with the cam set at 'full lean'.
The advent of electronic engine controls initially just controlled the spark settings, and then only to a single pre-programmed map of engine speed. However, as microprocessors became more available in the 1980s, sophistication soon grew.