Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1747

Measure the execution time of functional interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.18.0
    • lang.time.*
    • None

    Description

      As a developer, I would like to be able to use a stop watch with modern language features, so that I can measure the time recuired for Runables or Suppliers or similar stuff.

      I would like to be able to write code similar to this example

      StopWatch watch = StopWatch.create();
      
      watch.takeTime( () -> { ...} )
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              o.b.fischer Oliver B. Fischer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: