1. A method to monitor a performance of a resource of a computing device, the method comprising: receiving an application code, wherein the application code includes at least one application thread configured to implement at least one task for the application code, and the application code is configured to spawn a performance thread; executing the application thread on the computing device, the application thread configured to use at least one resource of the computing device; executing the performance thread of the application code on the computing device; wherein the performance thread is effective to perform the operations of: sending two or more calculation requests to a processor of the computing device; calculating a first value based on a first number of calculation responses received in a first time period; calculating a second value based on a second number of calculation responses received in a second time period; determining a difference between the first and the second values; and generating an alert when the difference is above a threshold.