Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 543535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:33:41+00:00 2026-05-13T10:33:41+00:00

Is there a good Java library for taking the legwork out of writing good

  • 0

Is there a good Java library for taking the legwork out of writing good micro-benchmarks? I’m thinking something which can provide (with a minimum of hassle) provide text (CSV or HTML, take your pick) output of results and maybe graphs summarizing results. Ideally, it should be something that plays nicely with JUnit or equivalent, and should be simple to configure benchmarks with variable parameters.

I’ve looked at japex, but found it too heavyweight (25 MB of libraries to include?!) and frankly it was just a pain to work with. Virtually nonexistent documentation, mucking about with ant, XML, and paths… etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:33:41+00:00Added an answer on May 13, 2026 at 10:33 am

    A few of us from the Google Collections team are in the early days of building something that satisfies your needs. Here’s the code to measure how long foo() takes:

    public class Benchmark1 extends SimpleBenchmark {
      public void timeFoo(int reps) {
        for (int i = 0; i < reps; i++) {
          foo();
        }
      }
    }
    

    Neither the API nor the tool itself is particularly stable. We aren’t even ready to receive bug reports or feature requests! If I haven’t scared you off yet, I invite you to take Caliper for a spin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Java : Is there a good natural language processing library Can anybody
Is there a good library (or wrapper to Java library) for graphs, and/or graph
Is there a good way to detect deletes in Java? I know I can
There is a good function that I need, which is implemented in the Java
Is there an existing robust Java library which implements a fairly substantial subset of
Possible Duplicate: Good Java graph algorithm library? Is there a complete library in Java
Is there any good, simple Java Grep Library? I'm not opposed to native code,
Is there a good library for functional programming in Java? I'm looking for stuff
Is there any good open-source Java library for HTML5 validation? It would be great
Is there any good logger library for iOS development like log4J in Java? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.