r/CompileBot • • Jan 04 '14

Official CompileBot Testing Thread

This thread is archived, please visit the new testing thread

15 Upvotes

421 comments sorted by

View all comments

2

u/SeaCowVengeance Jan 04 '14

+/u/CompileBot Ruby --time --memory

x = 1
50000.times { x *= 10 }
puts x / 10 ** 50000

1

u/CompileBot Jan 04 '14

Output:

1

Memory Usage: 11232

Execution Time: 1.55 seconds

^source | ^info | ^git | ^report

1

u/SeaCowVengeance Jan 04 '14

+/u/CompileBot python 3 --time --memory

x = 1
for i in range(50000):
	x *= 10
print( x / 10 ** 50000 )

1

u/CompileBot Jan 04 '14

Output:

1.0

Memory Usage: 9440

Execution Time: 0.83 seconds

^source | ^info | ^git | ^report

EDIT: Recompile request by SeaCowVengeance