def _benchmark(self): print() print('==== PyScript on %s =====' % BACKEND) print() pystone_main() convolve() bench_str()
def benchmark(self): print('\n==== Python %s %s =====\n' % (platform.python_implementation(), platform.python_version())) pystone_main() convolve() bench_str() # Trigger benchmark in JS self.run_js_benchmark()