I have a method in java Public Object someMethod (String param) ( //some calculations Return Object )
I want to test the performance of this method ( how much time would it take to reach to db and return an object ) How can I do this? I don't have a main method because its a library. I use unit tests to check if it works. Help.
Aucun commentaire:
Enregistrer un commentaire