Commit 315eeffd authored by wangmingming's avatar wangmingming

111

parent 16552081
...@@ -178,7 +178,6 @@ while True: ...@@ -178,7 +178,6 @@ while True:
usedTime = 10 usedTime = 10
code = open('src.js', 'r', encoding='utf-8').read() code = open('src.js', 'r', encoding='utf-8').read()
code1 = open('js_dom_run.js', 'r', encoding='utf-8').read()
for i in range(30): for i in range(30):
try: try:
# selectId = '55a8fe24a752595e774341d6' # selectId = '55a8fe24a752595e774341d6'
...@@ -224,11 +223,6 @@ while True: ...@@ -224,11 +223,6 @@ while True:
# 'update_time': int(time.time() * 1000) # 'update_time': int(time.time() * 1000)
# }) # })
code = open('src.js', 'r', encoding='utf-8').read() code = open('src.js', 'r', encoding='utf-8').read()
code1 = open('js_dom_run.js', 'r', encoding='utf-8').read()
with open('src_run1.js', 'w', encoding='utf-8') as f:
f.write(code + '\n\n' + get_random_location() + ';;' + c)
# with open('js_dom_run1.js', 'w', encoding='utf-8') as f:
# f.write(code1 + '\n\n' +get_random_location() +';;'+ + c)
t1 = time.time() t1 = time.time()
# token = list(db.token_shape.aggregate( [ { '$sample': { 'size': 1 } } ] ))[0]['_id'] # token = list(db.token_shape.aggregate( [ { '$sample': { 'size': 1 } } ] ))[0]['_id']
# r = requests.get('http://127.0.0.1:5000/getinfo').json()['message'] # r = requests.get('http://127.0.0.1:5000/getinfo').json()['message']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment