Questions tagged [caliper]

Caliper is Google's open-source framework for writing, running and viewing the results of Java microbenchmarks.

See the Caliper project site, and online result viewer.

The simplest complete Caliper benchmark looks like this:

public class MyBenchmark extends SimpleBenchmark {
  public void timeMyOperation(int reps) {
    for (int i = 0; i < reps; i++) {
      MyClass.myOperation();
    }
  }
}

Very short tutorial examples.

More introductory examples.

83 questions
0
votes
1 answer

How to do tracing of caliper benchmarks execution ?

How can I see console output in "running" mode (in --debug I can see it). Does caliper creates execution log? How to access it?
ash1
  • 27
  • 3
0
votes
1 answer

Caliper benchmark online results are not generated

I followed the isnstructions in http://code.google.com/p/caliper/wiki/OnlineResults?show=content and have a key generated for me. I put this key into the file ~/.caliperrc in my Linux machine and defined the account on Google. When I run my…
ash1
  • 27
  • 3
0
votes
3 answers

Using Google Caliper with Scala

I am trying to use Caliper with Scala(2.10) in Eclipse Juno(4.2). For the start I've set up a benchmark that simply iterates a foreachloop over an array. import com.google.caliper.Param import com.google.caliper.SimpleBenchmark class Benchmark…
0
votes
1 answer

Get logarithmic benchmark runtime from Caliper

I've recently discovered the Caliper benchmark framework for Java which seems like a very useful tool for microbenchmarks. I'm using it to run microbenchmarks for my vector maths library (vectorz) However the standard "SimpleBenchmark" output gives…
mikera
  • 105,238
  • 25
  • 256
  • 415
0
votes
1 answer

Caliper : JVM throws OutOfMemoryError Exception

I am using google caliper to run a very simple benchmark on a method. I am getting the following exception. Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at…
Rakesh
  • 3,987
  • 10
  • 43
  • 68
0
votes
1 answer

Can caliper skip some Param combinations for some methods?

I'm testing 6 different implementations of a two methods, which would need time* 12 method. Using an interface and @Param with a Supplier I need only 2 methods, but there can be some associated overhead, so I wrote timeDirect measuring one of the…
maaartinus
  • 44,714
  • 32
  • 161
  • 320
0
votes
1 answer

Caliper @Param not working

I am trying to use the @Param annotation on a field with the command line args of the form: "-Dmyparamname=val1,val2,val3" and it is not working. I am using caliper-0.5-rc1.jar. My actual usage looks like: java -classpath "mylongclasspath"…
Kevin Welker
  • 7,719
  • 1
  • 40
  • 56
-2
votes
1 answer

how to integrate and Test a project created using Hyperledger Fabric version 2.3.1 using Hyperledger Caliper?

i'm currently working on blockchain based document verification system.the system is created using hyperledger fabric version 2.3.1. i want to test the performance of the system(Average Latency, Throughput) using Hyperledger Caliper. my question…
fit
  • 1
  • 2
1 2 3 4 5
6