I am trying to develop some code for my own library. I chose Jest as the testing framework. What I would like to do is have test cases to make sure that a particular function is not taking too much time to execute. Basically that requires some way of timing how much time a function call is taking. I am aware of the standard ways of measuring time. However, it may be nice to have some way of letting Jest do that work. I have tried looking into the (open and closed) issues on the Github Jest repo but I couldn't find anything that addresses my question in particular. Does anyone know of such a way of timing function calls with Jest?