public void profilerTestConnectCloseBatches() throws Exception {	
		try {
			log.info("test beginning");
			int size = 10;
			String[] methodNames = new String[size];
			for(int i = 0; i < size; i++) {
				methodNames[i] = "connected";
			}
	
			for(int j = 0; j < 10000; j++) {
				TCPChannel[] clients = new TCPChannel[size];
				for(int i = 0; i < size; i++) {
					clients[i] = chanMgr.createTCPChannel("Client["+i+"]", getClientFactoryHolder());
				}
			
				for(int i = 0; i < size; i++) {
					clients[i].oldConnect(svrAddr, (ConnectionCallback)mockConnect);
				}
			
				mockConnect.expect(methodNames);
				
				for(TCPChannel channel : clients) {
					channel.oldClose();
				}
			}
		} catch(Exception e) {
			log.log(Level.WARNING, "the exception", e);
		} finally {
			log.warning("test ending*********************");
		}
//		long timePerConnect = result/size;
//		log.info("time for initiating connects          ="+result2);
//		log.info("time for initiating/finishing connects="+result);
//		log.info("connected per connection time         ="+timePerConnect);		
//		log.info("--time to beat           ="+getBasicConnectTimeLimit());
	//	assertTrue(timePerConnect < getBasicConnectTimeLimit());
		
	}