Skip to content

Instantly share code, notes, and snippets.

View pmoessner's full-sized avatar

Petra Moessner pmoessner

  • University of Texas at Arlington
  • Fort Worth, TX
View GitHub Profile
@pmoessner
pmoessner / Errai scalability
Created March 7, 2014 10:48
Another example using junit-4-perfrunner - explanation at www.petramoessner.blogspot.com
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 January 28, 2013 18:59
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.
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;