You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/06/07 06:26:18 UTC
[jira] [Resolved] (CB-9475) stringByEvaluatingJavaScriptFromString
slow
[ https://issues.apache.org/jira/browse/CB-9475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-9475.
----------------------------------
Resolution: Not A Problem
Sqlite plugin problem, not Cordova
> stringByEvaluatingJavaScriptFromString slow
> -------------------------------------------
>
> Key: CB-9475
> URL: https://issues.apache.org/jira/browse/CB-9475
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: 3.8.0
> Reporter: Christian Helbig
> Labels: performance
>
> 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.
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org