code: public void onModuleLoad() {
  		long time = System.currentTimeMillis();
  		for (int i = 0; i < 100; i++) {
  			String response = doRequest("http://localhost:9990/domain-api?recursive=true", "application/json");
  			parseJson(response).cast();
  			
  		}
  		long total = System.currentTimeMillis() - time;
  		
  		double avg = total / 100.0;
  		
  		RootPanel.get("nameFieldContainer").add(new HTML("<pre>" + "total: " + total + "avg: " + avg + "</pre>"));
  		
  		time = System.currentTimeMillis();
  		for (int i = 0; i < 100; i++) {
  			String response = doRequest("http://localhost:9990/domain-api?recursive=true", "application/dmr-encoded");
  			ModelNode.fromBase64(response);
  		}
  		total = System.currentTimeMillis() - time;
  		
  		avg = total / 100.0;
  		
  		RootPanel.get("nameFieldContainer").add(new HTML("<pre>" + "total: " + total + "avg: " + avg + "</pre>"));
  	}
docs: This is the entry point method.