Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 3e56ef1

Browse files
committed
[[ Benchmarks ]] Rename EndTiming to StopTiming
Using 'Stop' rather than 'End' seems more appropriate.
1 parent 6d8687d commit 3e56ef1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

benchmarks/_benchmarklib.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ on BenchmarkStartTiming
3030
put the millisecs into sBenchmarkStartTime
3131
end BenchmarkStartTiming
3232

33-
on BenchmarkEndTiming
33+
on BenchmarkStopTiming
3434
write (the millisecs - sBenchmarkStartTime) to stdout
35-
end BenchmarkEndTiming
35+
end BenchmarkStopTiming
3636

3737
on errorDialog executionError, parseError
3838
write executionError & return to stderr

benchmarks/lcs/control/repeat.livecodescript

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818

1919
on BenchmarkRepeatCount
20-
BenchmarkStartTiming
21-
repeat 100000000 times
22-
end repeat
23-
BenchmarkEndTiming
20+
BenchmarkStartTiming
21+
repeat 100000000 times
22+
end repeat
23+
BenchmarkStopTiming
2424
end BenchmarkRepeatCount
2525

2626
on BenchmarkRepeatWith
27-
BenchmarkStartTiming
28-
repeat with i = 1 to 100000000
29-
end repeat
30-
BenchmarkEndTiming
27+
BenchmarkStartTiming
28+
repeat with i = 1 to 100000000
29+
end repeat
30+
BenchmarkStopTiming
3131
end BenchmarkRepeatWith
3232

0 commit comments

Comments
 (0)