Add logging for solver performance