You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Christian Helbig (JIRA)" <ji...@apache.org> on 2015/08/10 13:57:45 UTC
[jira] [Created] (CB-9475) stringByEvaluatingJavaScriptFromString
slow
Christian Helbig created CB-9475:
------------------------------------
Summary: stringByEvaluatingJavaScriptFromString slow
Key: CB-9475
URL: https://issues.apache.org/jira/browse/CB-9475
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 3.8.0
Reporter: Christian Helbig
hi, i use the sqlitePlugin and sometimes i have a delay from 5-6 sec.
i found out, that the "stringByEvaluatingJavaScriptFromString" function inside evalJSHelper2 make this problem.
2015-08-10 13:56:00.430 tueren_tore[884:117289] start execute sql
2015-08-10 13:56:00.432 tueren_tore[884:117289] Exec(SQLitePlugin1558868033): Calling SQLitePlugin.backgroundExecuteSqlBatch
2015-08-10 13:56:00.435 tueren_tore[884:123929] call return callback from native
2015-08-10 13:56:00.436 tueren_tore[884:123929] Exec(SQLitePlugin1558868033): Sending result. Status=1
2015-08-10 13:56:00.437 tueren_tore[884:123929] call exec.nativeCallback
2015-08-10 13:56:00.439 tueren_tore[884:117289] Exec: evalling: cordova.require('cordova/exec').nativeCallback('SQLitePlugin1558868033',1,[{"qid":1111,"type":"success","result":{"rowsAffected":0,"rows":[]}}],0)
2015-08-10 13:56:06.083 tueren_tore[884:117289] commandJSON successfully builded
2015-08-10 13:56:06.084 tueren_tore[884:117289] Exec: Retrieved new exec messages by chaining.
2015-08-10 13:56:06.085 tueren_tore[884:117289] Exec(INVALID): Calling Console.logLevel
2015-08-10 13:56:06.086 tueren_tore[884:117289] convertedMessageToArgsNativeToJS
2015-08-10 13:56:06.086 tueren_tore[884:117289] Exec(INVALID): Calling Console.logLevel
2015-08-10 13:56:06.087 tueren_tore[884:117289] [[{"qid":1111,"type":"success","result":{"rowsAffected":0,"rows":[]}}]]
2015-08-10 13:56:06.088 tueren_tore[884:117289] Exec(INVALID): Calling Console.logLevel
2015-08-10 13:56:06.088 tueren_tore[884:117289] callbackFromNative
2015-08-10 13:56:06.089 tueren_tore[884:117289] Exec(INVALID): Calling Console.logLevel
2015-08-10 13:56:06.090 tueren_tore[884:117289] start execute finished
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org