Skip to content

Instantly share code, notes, and snippets.

Avatar

Petra Moessner pmoessner

  • University of Texas at Arlington
  • Fort Worth, TX
View GitHub Profile
@pmoessner
pmoessner / Errai scalability
Created Mar 7, 2014
Another example using junit-4-perfrunner - explanation at www.petramoessner.blogspot.com
View Errai scalability
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.jboss.perfrunner.Axis;
import org.jboss.perfrunner.PerfRunner;
@pmoessner
pmoessner / Using junit-4-perfrunner
Created Jan 28, 2013
An example of using junit-4-perfrunner for performance testing in java. The code graphs the results. Further explanation can be seen at www.petramoessner.blogspot.com.
View Using junit-4-perfrunner
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.jboss.perfrunner.Axis;
import org.jboss.perfrunner.PerfRunner;
import org.jboss.perfrunner.Varying;