Why do you have to do it on the client side? why not just do all of your processing on the server side and send the client the results. Not every client is going to have a machine that can do heavy calculations and they might actually be using.... IE
On Thu, Mar 17, 2011 at 9:04 PM, csillag <[email protected]> wrote: > Hi there, > > We are developing an application which neds to do some heavy > calculations on the client side. > We are using the Java double type, standard arithmetic operations, > plus sqrt and power from math. > > When I run the app on dev mode, the code runs OK, but when I actually > deploy it, the time required to perform the same calculation (on the > same host!) jumps to ~90 times of the original. > > I guess this is because when running in dev mode, the calculations > happen in the JVM, and when running in deployed mode, they run in JS > space, in the browser. > > But still, is this expected? Is basic arithmetic in JS this slow? > (Tried with both FF3.6 and FF4.0 RC.) > > What can I do to improve this situation? > > Thank you for your help: > > Kristof Csillag > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
