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

  • SEARCH
  • Home
  • 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 3667464
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:00:15+00:00 2026-05-19T02:00:15+00:00

I have written a few benchmarks using Caliper . How can I run multiple

  • 0

I have written a few benchmarks using Caliper. How can I run multiple benchmarks at once? I currently have many classes that extend SimpleBenchmark and have a few timeXXX methods each. Is it possible to run these all at the same time?

SimpleBenchmark’s javadocs say:

The benchmarks of a suite are defined by . They may be static. They are not permitted to take parameters . . ..

Uh, what? This looks incomplete.

Caliper’s mailing list says it is not for Q&A, and to post a question here with the tag “caliper”. However, I see zero SO posts with this tag! Since I don’t have 1500 rep yet, I can’t create a new tag.

Use case: There is only one setUp/tearDown method. I have many tests in my benchmark class, each of which allocates a lot of memory. I currently have to use a gargantuan heap, which only gets bigger as I add more tests. Also, many tests in one file becomes somewhat untidy to maintain. It would be nice to specify multiple benchmark classes and have all tests in all of them be considered as one run.

  • 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-19T02:00:16+00:00Added an answer on May 19, 2026 at 2:00 am

    No. There’s no built-in mechanism to run unrelated benchmarks as a suite. You can accomplish this with a simple shell script:

    #!/bin/bash
    echo $* | xargs -n 1 $CALIPER_HOME/caliper
    

    What’s your use case? We’d like to have better support for running benchmarks in Hudson etc; hopefully we can put that together soon.

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

Sidebar

Related Questions

I am new to web serivce. I have written a few clients using AXIS2
I have written a few lines of code which I think should not compile.
I have written a small perl application for deployment on a few servers. It
I have written quite a bit of code of the past few years. I've
hey stackoverflowers. im having a few problems with the code i have written to
I have written a little library. Now I want to let the user configure
As much as I love C and C++, I can't help but scratch my
Here is a typical URL I'm trying to rewrite: Example requested URL: http://topleveldomain/search?q=clause1+clause2+clause3&State=FL It
A new game server just came out which our company would like to offer

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.