From: Cefn <google....@cefn.com>
Date: Thu, 6 May 2010 03:46:57 -0700 (PDT)
Local: Thurs, May 6 2010 6:46 am
Subject: [env-js] Re: Bug when optimisation is not set to -1
Should have been clearer. Strictly the load and parse time is around a
second. It takes another second and a half if javascript in the page is turned on with... scriptTypes: {
...and indeed this is the scenario we need env.js for.
Some pages sadly operate ONLY when javascript is active, so can only
I've been testing this timing by simply re-running the lines from
I guess i'm often on a dual core so I might get a double time speedup
If there's a Spidermonkey alternative in the long run it would mean I
Cefn
On May 6, 3:56 am, chris thatcher <thatcher.christop...@gmail.com>
> How big is the page? At some point soon we may have the optimization issue
-- > worked out, but in reality the optimization wont substantially change the > parse time, maybe shave off a second for an 'average' sized page. The > catch 22 is that the html 5 parser is the reason we can't optimize yet and > if you are really crawling html in the wild you wouldn't get very far > without it. Rhino is slower than its C counterparts, which is why envjs > developers have a number of other supported platforms at various stages of > readiness. > In general the platform you choose will be based on the project
> For env.rhino.js your best solution in the near term is to simply thread a
> Thatcher
> On Wed, May 5, 2010 at 3:26 PM, Cefn <google....@cefn.com> wrote:
> > If I run the following script, js/bt/test.js
> > load("js/envjs/dist/env.rhino.js");
> > using the harness athttp://pastebin.com/zAmJpKNC(note the line
> > java -cp bin:js.jar Scraper
> > ...where bin contains the Scraper class, js.jar is rhino, and js/envjs/
> > If I comment out the setOptimization(-1); line, then it throws errors
> > java -cp bin:js.jar Scraper
> > This is obviously fatal to using the framework with any acceleration.
> > It would mean a lot to have it run optimized, which is why I tried
> > Perhaps I can avoid the env.js and sizzle.js startup costs for page+1,
> > Anyone know what my options are to get JQuery-style selectors in
> > --
> --
> --
You received this message because you are subscribed to the Google Groups "Env.js" group. To post to this group, send email to envjs@googlegroups.com. To unsubscribe from this group, send email to envjs+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/envjs?hl=en. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||