CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 Faster code generation

Print topic Send  topic

Author Message
adgreen

Posts: 27
Posted: 06/01/2005, 12:55 AM

I can't find any mention of this elsewhere, so it may be that my perception is warped :-)

I think the product would be improved by optimising the routines that generate server side code. In my experience, on pages with any level of complexity, workflow is slowed down a quite a bit waiting for CCS is finishing "generating code". On my development machine this can take up to 30secs on some pages - which makes editing events etc a slow process indeed, especially as I might add and edit code (and test) page functionality in an incremental fashion for many page elements. The cumulative waiting time per page can add up to many minutes or up an hour for a highly complex page.

This is my experience generating ASP code. (Dev machine is P4 2.4Ghz with 1Gb ram.)

View profile  Send private message
peterr


Posts: 5971
Posted: 06/01/2005, 1:57 AM

30 sec to generate a page? The page is generated when you switch from "Design" to "Code" mode - can you please check how long does it take to switch to that mode?

Possibly only the publishing is slow and it can be improved in a couple of ways:
1. Set your Publishing Settings to "Files to publish = project files"
and/or
2. Use Ctrl+F8 to publish or Ctrl+F10 to view the live page.

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
adgreen

Posts: 27
Posted: 06/01/2005, 2:51 AM

Yes, 30 sec is a long time! But that is an extreme. That page (from memory) had about 10 record forms on it. It was a page that presented a "wizard" style interface for stepping through logical data entry procedures, by only showing the forms needed for a step.

I've just checked a page with a much lower level of complexity, and switching from Design to Code takes about 10 secs. The number of lines in the main ASP file is about 1900, in the _events file is about 200.

Examples from the Example packs take between 1 to 3 secs to switch from design to code view.

This is not a complaint - I'm very happy! Perhaps some kind of on-the-fly code generation might be possible? Perhaps not. :-D
View profile  Send private message
DonB
Posted: 06/01/2005, 5:35 AM

For something that big, I'd want to make Include pages for each of the
forms, thus enabling each one to be published individually. The size of the
'main' page would be considerably reduced (although the size of the
*executed* page would not as all the includes would get recombined into
one). Smaller, faster generation of each component is then possible, and
you can publish only those that need to be published.

--
DonB

http://www.gotodon.com/ccbth


"adgreen" <adgreen@forum.codecharge> wrote in message
news:22429d8542ad4ce@news.codecharge.com...
> Yes, 30 sec is a long time! But that is an extreme. That page (from
memory) had
> about 10 record forms on it. It was a page that presented a "wizard"
style
> interface for stepping through logical data entry procedures, by only
showing
> the forms needed for a step.
>
> I've just checked a page with a much lower level of complexity, and
switching
> from Design to Code takes about 10 secs. The number of lines in the main
ASP
> file is about 1900, in the _events file is about 200.
>
> Examples from the Example packs take between 1 to 3 secs to switch from
design
> to code view.
>
> This is not a complaint - I'm very happy! Perhaps some kind of on-the-fly
code
> generation might be possible? Perhaps not. :-D
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

adgreen

Posts: 27
Posted: 06/01/2005, 7:45 PM

Aaaah! Of course! Being fairly new to CCS and having jumped into working with it once I had the basics worked out, I completely overlooked that possibility.

I was using includes for common stuff of course, but while I was finger tapping, impatiently waiting for code to 'regenerate', I could have broken it out to a number of smaller static modules, and saved a heap of time.

I guess this should go into the Tips area of the forum. For those, like me, who are oblivious to the obvious! :-)

Adrian.
View profile  Send private message
matheus

Posts: 386
Posted: 06/02/2005, 4:41 AM

And someone get a big project in Java and try publish?

It was more than 10 minutes.

Lucky I say with Yes Software support and have a solution to doesn't give java.outofMemory.

Java is so slow to publish....
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
mrachow


Posts: 509
Posted: 06/02/2005, 5:23 AM

Java seems to be the language with the greatest amount of generated code.

Most of it (JSP) or all of it are Java files that have to be compiled to classes on your local PC.
_________________
Best regards,
Michael
View profile  Send private message
matheus

Posts: 386
Posted: 06/02/2005, 10:42 AM

Yeah, many generated code.

I'm trying change compiler to jikes, if solve...
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.