Attack speed bonus of 20% is equal to 0.8 * base attack animation duration. It means DPS is effectively increased by 25%. Refer to Momentum to learn more about attack speed modifiers. It can can stack with Momentum without Precise Striking, as the animation length with both buffs on is exactly 0.5.
The attack speed bonus only applies to melee attacks, and not to ranged attacks.