gambas 262fe72e3e Add a new string benchmark.
[BENCHMARK]
* NEW: Add a new string benchmark.
2020-04-06 04:44:09 +02:00

12 lines
141 B
Python
Executable File

#!/usr/bin/python
str = ''
i = 0
for i in range(0, 1000000):
for j in range(65, 91):
c = chr(j)
str += '.(' + c + ')'
print len(str)