Time to compute simulation vs IRFs

Which is faster (if either): computing IRF curves, or generating a stochastic simulation?

(Assume we’re simulating, say, 100 periods for each)

Both should take about the same time at first order.