1 Reply Latest reply on Aug 1, 2014 8:40 AM by DBarranca

    JSX call very slow with big variables

    tfischer_ Level 1

      quick summary first of what i'm trying to do:

       

      i tried to get a Base64 String via Ajax and hand it over to my ,jsx file.

       

      if the size of the String is roughly 100KB it runs smoothly (under a second) but the bigger the string gets the longer i have to wait.

      With a 1MB String i have to wait over a minute

       

      [...]

      alert("now to JSX");

      var extScript = "$._ext_base.run('"+baseStr+"')"; //baseStr contains the result

      evalScript(extScript);

      [...]

      $._ext_base={

          run: function(binary){

         alert("now in JSX");

      [...]

       

      as said the time passing between these two alerts is over a minute.

       

      has anyone of you experienced simmilar issues and maybe even a solution for me?

       

      Thanks a lot in advance!!

       

      Greetings

      Thomas