Questions tagged [dacapo]

a benchmark suite intended as a tool for Java benchmarking by the programming language, memory management and computer architecture communities. It consists of a set of open source, real world applications with non-trivial memory loads.

The DaCapo benchmark suite is intended as a tool for Java benchmarking by the programming language, memory management and computer architecture communities. It consists of a set of open source, real world applications with non-trivial memory loads.

Website: http://www.dacapobench.org/

12 questions
48
votes
2 answers

Windows Batch Script: Redirect ALL output to a file

I am running various Java benchmarks and would like to archive the results. I execute the (dacapo) benchmark like this: C:\VM\jre\bin\java -jar C:\benchmarks\dacapo-9.12-bach.jar %arg1% > %time::=% I pass the type of benchmark in over a parameter,…
Nicolas
  • 1,828
  • 6
  • 23
  • 34
5
votes
1 answer

Injecting code in an existing method using BCEL

For my thesis research I need to inject a piece of code to a definable method in a test suite of which I do not have the source ( the DaCapo benchmark suite in this case, http://dacapobench.org/ ). Previous research, on which this part of my thesis…
Peter
  • 620
  • 6
  • 13
3
votes
1 answer

Java runs really slow on CentOS minimal install, but fast on normal install

Using CentOS 6.2, both of these installations are on the same server: After doing a 'minimal' install Java programs run incredibly slow. After doing a 'software development workstation' install Java programs run at normal speed. Some information…
user24601
  • 71
  • 1
  • 4
2
votes
2 answers

Redirect input in Clojure

I want to redirect the standard input in my Clojure benchmark. I have passed the file as an argument and I am trying to find the equivalant code in java: System.setIn(new FileInputStream(filename)); but for Clojure. The main issue is that I use the…
Spyros
  • 35
  • 5
2
votes
1 answer

Can Unix time command interfere with the running program?

From this answer on the Time Unix command I get the basic idea on how time works. It forks a new process and execute the command in that new process. However, I have encountered a behavior that I am not able to understand. I am trying to profile…
1
vote
1 answer

How to recursively extract files from nested folder structure into a parent folder

I have a problem in which I have a directory called psp (level 0) full of a bunch of folders (level 1) each containing two or three folders (level 4) Containing a couple of .pseudo files (they are just text files) and a .tar.gz file. The program I…
Alex Eftimiades
  • 2,527
  • 3
  • 24
  • 33
1
vote
1 answer

Warm up JVM for running Scalabench

I'd like to have a java application, which runs the different benchmarks of the Scalabench. I'd like to ensure that the JVM is warmed up before I start to measure how long the benchmark runs. How should I run these benchmarks from my java app? The…
Alex
  • 258
  • 2
  • 20
0
votes
1 answer

How to use Cobertura to test the coverage of benchmark Dacapo?

Recently, I was using a new benchmark: Dacapo(Here is the website:http://dacapobench.org/). My teacher told me to use the Cobertura to test the branch coverage of 11 benchmarks in Dacapo. Meanwhile, I was learning Cobertura. I found that Cobertura…
Mr.Zha
  • 1
  • 2
0
votes
2 answers

Weaving the same aspect into multiple jars

I've been having problems weaving this project correctly with AspectJ (ajc). Here's the situation : I'm using a benchmarking library called DaCapo Benchmarks, and in it I'm trying to intercept all calls to Iterator.HasNext() and Next() [academic…
0
votes
1 answer

Not able to run dacapo benchmarks on JDk13

I'm trying to run daCapo benchmarks available from here (https://github.com/dacapobench/dacapobench). I gave JAVA_HOME as export JAVA_HOME="/home/srcshetty/Desktop/ALL_JDKs/jdk-13.0.1/" I have installed all the dependencies required to build the…
srccode
  • 721
  • 4
  • 16
0
votes
0 answers

InvocationTargetException/NoClassDefFoundError/ClassNotFoundException when running batik(DaCapo-9.12-bach benchmark)

I build OpenJDK 9 by myself and run Dacapo Benchmarks on my Linux Server(64-bit, 64 cores, 126GB Memory)(Ubuntu 17.10). I have InvocationTargetException/NoClassDefFoundError/ClassNotFoundException when I run batik(DaCapo-9.12-bach benchmark) and…
skytree
  • 1,060
  • 2
  • 13
  • 38
0
votes
1 answer

Java Class Load from Linux Terminal

I am trying to load my java Harness class (DaCapo Benchmark suite) with the appropriate benchmarks java classes (cnf.files). In windows the command " java Harness works absolutely fine. However, since I am new to Linux when I try to load my java…
Spyros
  • 35
  • 5