The computer adds spark advance to compensate for the recirculated gases and the slower rate they burn at.
The EGR shuts off at Wide Open Throttle (WOT), so it has minimal effect on performance. The addition of exhaust gas drops combustion temperature, increases gas mileage and reduces the tendency of the engine to ping.