I’ve played a fair amount of both but to be fair never competitively. Like for example I played tons of Warcraft 2 and 3 with friends at LAN parties. But these days I’m more likely to be drawn to a single player turn based game like XCOM, Civ, or FF Tactics style games.
I don’t know what game first came up with it, but Super Mario RPG was the first time I saw timed hits for attack and defense in a JRPG. While the mechanic isn’t exactly ubiquitous it has popped up in a handful of other games over the years and it always reminds me of that game.