cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9475) stringByEvaluatingJavaScriptFromString slow
Date Mon, 27 Feb 2017 22:54:45 GMT

    [ https://issues.apache.org/jira/browse/CB-9475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886698#comment-15886698
] 

Shazron Abdullah commented on CB-9475:
--------------------------------------

Is this not an issue with the plugin itself? It might be doing something unexpected? (dunno)

> 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
>              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


Mime
View raw message