title: Test computer processing speed with a simple Python script
body: <p>I want to make a simple script just to test the time that the computer takes to execute it.
  I already built it with PyQt and made a kinda loop using QTimer. Now i need the "make busy" part. What kind of commands can I use just to make the computer work a little so I can get the time it takes and compare with other computers?</p>
  
  <p>Here is my code so you can understand better:</p>
  
  <pre><code>self.Tempo = QtCore.QTimer(None)
  self.Cron = QtCore.QTime(0,0,0,0)
  
  def begin():
      self.Cron.start()
      self.Tempo.singleShot(999, update)       
  def update():
      if self.lcdNumber.value() == 10:
          finish()                
      else:
          self.lcdNumber.display(self.lcdNumber.value()+1)
          #Here I want to make some processing stuff            
          self.Tempo.singleShot(999, update)
  def finish():
      print("end")
      took = self.Cron.elapsed() / 1000
      print("took: {0} seconds" .format(str(took)))
      self.lcdNumber_2.display(took)
  </code></pre>