old_contents: import sys,time
  import sys
  sys.path.append("../")
  import jieba
  jieba.initialize()
  
  url = sys.argv[1]
  content = open(url,"rb").read()
  t1 = time.time()
  words = "/ ".join(jieba.cut(content))
  
  t2 = time.time()
  tm_cost = t2-t1
  
  log_f = open("1.log","wb")
  log_f.write(words.encode('utf-8'))
  log_f.close()
  
  print('cost ' + tm_cost)
  print('speed %s bytes/second' % (len(content)/tm_cost))
  
  
new_contents: import sys,time
  import sys
  sys.path.append("../")
  import jieba
  jieba.initialize()
  
  url = sys.argv[1]
  content = open(url,"rb").read()
  t1 = time.time()
  words = "/ ".join(jieba.cut(content))
  
  t2 = time.time()
  tm_cost = t2-t1
  
  log_f = open("1.log","wb")
  log_f.write(words.encode('utf-8'))
  log_f.close()
  
  print('cost ' + str(tm_cost))
  print('speed %s bytes/second' % (len(content)/tm_cost))
  
  
subject: fix test_file.py