Optimal Computation from Fluctuation Responses