Critical behavior in the computational cost of satisfiability testing