2020-03-16 07:50:12 +01:00
|
|
|
// This script runs 1 million iterations
|
|
|
|
// to test the speed of the scripting engine.
|
|
|
|
|
|
|
|
let x = 1_000_000;
|
|
|
|
|
|
|
|
print("Ready... Go!");
|
|
|
|
|
2016-03-02 03:36:46 +01:00
|
|
|
while x > 0 {
|
|
|
|
x = x - 1;
|
|
|
|
}
|
2020-03-16 07:50:12 +01:00
|
|
|
|
|
|
|
print("Finished.");
|