Performance Monitoring using perf4j instead of system milli seconds

Solution Verified - Updated -

Issue

  • we need to monitor the performance of some methods execution and we don't want to rely on System.currentTimeMillis().
  • A simple log based stopwatch mechanism is enough. So we are trying perf4j.

Environment

  • JBoss Enterprise Application Platform (EAP)
    4.x
    5.x
    6.x
  • Java in general

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content