We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8faa8 commit c1197b2Copy full SHA for c1197b2
bench.lua
@@ -151,20 +151,18 @@ print("Minimum Int:", math.mininteger or "Unknown")
151
print("Maximum Int:", math.maxinteger or "Unknown")
152
print()
153
print("Benchmark", "Iterations", "Time (min:sec.ms)")
154
--- Run the benchmarks
155
+-- Run the benchmarks
156
bm = os.clock()
157
-
158
benchmark_add()
159
benchmark_flt()
160
benchmark_sub()
161
benchmark_mul()
162
benchmark_div()
163
164
benchmark_pi()
165
benchmark_gcd()
166
167
benchmark_array()
168
print(string.rep('_', 49))
169
io.write("Total:\t\t" .. string.format("%8.3fkB", collectgarbage("count")) .. "\t")
170
BenchmarkEnd(bm)
+print("Press Enter to Exit...") io.read() os.exit()
0 commit comments