Open
Description
If I call Benchit.analyze("test") when no records for "test" have been recorded, I'll get this exception:
java.lang.NullPointerException: Attempt to invoke virtual method 'com.tspoon.benchit.Result com.tspoon.benchit.Benchmark.result()' on a null object reference
I know it's kindof minor and I could catch the exception myself, but it would be preferable if an empty result could be returned and .log() would print out a message indicating there were no records.
Metadata
Metadata
Assignees
Labels
No labels