def main():
	if PYTHON=='PYTHONJS':
		pythonjs.configure( direct_operator='+' )
		pass


	starttime = time()
	n = 3000
	seq = []
	cache = []

	w1 = threading.start_webworker( worker, (0, n, seq, cache) )
	sleep(1.0)

	testtime = time()-starttime
	primes_per_sec = len(seq) * (1.0 / testtime)

	print(primes_per_sec)
	print('#total test time: %s' %testtime)
	print('-----main exit')
dataset/ETHPy150Open PythonJS/PythonJS/regtests/bench/webworker_single.py/main/original