st-dc opened a new issue #3116: [Android] Running the for statement in the 
JavaScriptcore takes a lot of time
URL: https://github.com/apache/incubator-weex/issues/3116
 
 
   JS sample code:
   var start = new Date().valueOf()
   var arr = []
   for (var i = 0; i < 100000; i++) {
        var arrIn = []
        for (var j = 0; j < 1000; j++) {
                arrIn.push(j)
        }
        arr.push(arr)
   }
   var end = new Date().valueOf()
   console.log("time:" + (end - start) + "ms")
   JavaScriptCore takes 19000ms to complete.
   The system WebView runs JS sample code, which only needs 3000ms to complete。
   Please change JSC to V8!!!!!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to