Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Compile only changed?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Roberto Saccon  
View profile  
 More options Nov 16 2007, 2:27 am
From: Roberto Saccon <rsac...@gmail.com>
Date: Thu, 15 Nov 2007 23:27:27 -0800 (PST)
Local: Fri, Nov 16 2007 2:27 am
Subject: Re: Compile only changed?
If I remember properly, I once had a such a situation, where it can
get slow, if you have a lot of static files served (or better: passed
through) by Erlyweb, then you also have a lot of requests per page,
which are going to be checked whether it is something to recompile,
end erlyweb is printing for each file a warning to the interactive
shell, which is also slow (but can be suppressed I think).

On Nov 16, 4:29 am, "Yariv Sadan" <yarivsa...@gmail.com> wrote:

> You can pass the {last_compile_time, Time} option to
> erlyweb:compile(), and it will only compile the files that have
> changed since that time (for convenience, erlyweb:compile() returns
> the Time value after each compilation).

> Is {auto_compile, true} slow for you? I haven't noticed its impact.

> Yariv

> On Nov 15, 2007 6:28 PM, David King <dk...@ketralnis.com> wrote:

> > Compiling with erlyweb:compile(Appdir,...) takes quite some time, and
> > compiling with {auto_compile,true} makes every request take a while,
> > so is there some way to get to the "compile all of the changed files"
> > functionality directly?


 
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.