<commit_before>from multiprocessing import Pool
import httplib2

# define your concurrency level for hammering your server
concurrencyCount=200

# define the url you want to test concurrency on
url='https://localhost'


def f(url):
    #print url
    h=httplib2.Http(disable_ssl_certificate_validation=True)
    resp, content = h.request(url,
    headers={'cache-control':'no-cache'})
    #print content
    print resp

pool = Pool(processes = concurrencyCount)
tasks=[]
for num in range(1,200):
    tasks.append(url)


print pool.map(f, tasks)<commit_msg>added timer for the sum of all processes<commit_after>from multiprocessing import Pool
import httplib2
import time

# define your concurrency level for hammering your server
concurrencyCount=200

# define the url you want to test concurrency on
url='https://localhost' 


def f(url):
	#print url 
	h=httplib2.Http(disable_ssl_certificate_validation=True)
	resp, content = h.request(url, 
    headers={'cache-control':'no-cache'})
	#print content
	print resp 

pool = Pool(processes = concurrencyCount)
tasks=[]
for num in range(1,200):
	tasks.append(url)

t0 = time.time()
pool.map(f, tasks) 


print time.time() - t0, "total system time (seconds)"
{'fraction_non_alphanumeric': 0.10382059800664452, 'fraction_numerical': 0.016611295681063124, 'mean_word_length': 4.878048780487805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4059547', 'n_tokens_mistral': 403, 'n_tokens_neox': 384, 'n_words': 116}