Skip to content
About using custom annotations and processing them.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
README.md
pom.xml

README.md

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
You can’t perform that action at this time.