private void performTask(){
		long start = System.nanoTime();
		
		switch(this.action){
		case HASHFUNCTIONS:
			performHashFunctionTests();
			break;
		case HYPERLOGLOG:
			performHyperLogLog();
			break;
		case SIMILARITIES:
			performSimilarities();
			break;
		case SLIDINGWINDOW:
			performSlidingWindow();
			break;
		case FREQUENTWORDS:
			performFrequentWords();
			break;
		case MICE:
			performMice();
			break;
		case ICEBERGS:
			performIcebergs();
			break;
		default:
			break;
		}
		
		long end = System.nanoTime();
		if(this.jCheckBox1.isSelected())
			this.jTextField1.setText(Double.toString((end-start)/1000000000.) + " s");
	}