For those that are wondering how it work, here's the math being the time saved with your heroes

RT = BT * 0.995 ^ HS

Where RT = Real time, BT = Base Time and HS = Hero Stat

As already told Attack apply to units build time, Politic to building build time and Intelligence to research time.

Have fun now calculating the time you save