Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.16 KB

SIMPLE PROFILER

Build Status Quality Gate Status Coverage

This application demonstrates how to use custom annotations and processing them in around a simple profiling example.

How to Use

For short information

@Monitor(MonitorPolicy.SHORT)
    private static void getUserInfo(){
        // //Make HTTP request...
    }

Result of

Total execution time of getShortUserInfo method is 326 ms

For detailed information

@Monitor(MonitorPolicy.DETAILED)
    private static void getUserInfo(){
        // //Make HTTP request...
    }

Result of

The getDetailUserInfo method start time is 2019-12-29 15:43:21 end time is 2019-12-29 15:43:22 , total execution time as milliseconds is 351