Source code drop for the Actionscript virtual machine in the Adobe Flash Player for December 2013
25 lines
1.2 KiB
ActionScript
25 lines
1.2 KiB
ActionScript
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
include 'timetest.as'
|
|
|
|
if (CONFIG::desktop) {
|
|
var size = 50000;
|
|
} else {
|
|
var size = 40000;
|
|
}
|
|
|
|
var aString = "a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890";
|
|
|
|
for (var k = 0; k < size; k++)
|
|
aString += "a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu vwxyz12 34567890 a bc def ghij klmno pqrstu "
|
|
|
|
|
|
function split(loops) {
|
|
aString.split(" ");
|
|
}
|
|
|
|
timetest(split); |