--- title: "Cost: Runtime Complexity Analysis" description: "Computes the time complexity of functions and methods. Can be used to detect changes in runtime complexity with `infer reportdiff`." --- Computes the time complexity of functions and methods. Can be used to detect changes in runtime complexity with `infer reportdiff`. Activate with `--cost`. Supported languages: - C/C++/ObjC: Yes - Java: Yes