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
 
David King  
View profile  
 More options Nov 17 2007, 8:34 pm
From: David King <dk...@ketralnis.com>
Date: Sat, 17 Nov 2007 17:34:10 -0800
Local: Sat, Nov 17 2007 8:34 pm
Subject: Re: [erlyweb-list] Re: Compile only changed?

> On Nov 16, 2007 9:12 AM, David King <dk...@ketralnis.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).
>> Since obviously {auto_compile,true} already retrieves its last
>> compile time from somewhere, can we get a {last_compile_time,auto} or
>> something in a future release?
> That's a good suggestion. I'll do it.

Thanks. Do you have a trac or bugzilla or something somewhere? Can I  
get an account on it?
>>> Is {auto_compile, true} slow for you? I haven't noticed its impact.

>> Yes, it at least triples the access time for pages when no files
>> require re-compiling (of course the impact is more when there are
>> files that do need compiling, but that's expected). Roberto mentioned
>> that this could be due to lots of static files, but that's not the
>> case here; I only have one .js and one .css being served in addition
>> to the rendered pages.

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