Status: New
Owner: ----

New issue 2836 by [email protected]: for loop is too slow at Specific value.
http://code.google.com/p/v8/issues/detail?id=2836

V8 3.20.14.2
Chrome  30.0.1591.0

var f1 = function () {
'use strict'
for (var i = 0; i <= 1073741822; ++i); //2^30-2
}

var f2 = function () {
'use strict'
for (var i = 0; i <= 1073741823; ++i); //2^30-1
}

var f3 = function () {
'use strict'
for (var i = 0; i <= 1073741824; ++i); //2^30
}


console.time('f1')
f1()
console.timeEnd('f1') //1848.000ms


console.time('f3')
f3()
console.timeEnd('f3') //5986.000ms


console.time('f2')
f2()
console.timeEnd('f2') //not finish

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to