First of all, Separate your Javascript on a .js file that you include, and generate your menus from embedded or on-demand xml data. 315KB for a page is surely not a good design.
:) On 5/11/05, Hubert FONGARNAND <[EMAIL PROTECTED]> wrote: > I'm currently working on an intranet project. We want to develop it as a > cross-platform project. It would be useful that it could run under MS.NET or > Mono... > I'm working with the svn version of mono 1.1.7.99 > I've seen that mono (xsp) is very slow when rendering (relative) big html rich > content. My Accueil.aspx pages is about 315Ko... It contains many javascript > for generating menus dynamically. > On MS.NET, the page takes 3sec (the first time) to be rendered, and about > 500ms (the second time) > On Mono it takes about 12sec everytime. when rendering the xsp process takes > about 100% of my cpu : > > Is there a way to do some profiling in order to know wich method takes the > more time? > When I run mono --verbose xsp.exe I see that xsp is waiting most of time... is > it normal? > > Thanks in advance... > _______________________________________________ > Ce message et les �ventuels documents joints peuvent contenir des > informations confidentielles. > Au cas o� il ne vous serait pas destin�, nous vous remercions de bien vouloir > le supprimer et en aviser imm�diatement l'exp�diteur. Toute utilisation de ce > message non conforme � sa destination, toute diffusion ou publication, totale > ou partielle et quel qu'en soit le moyen est formellement interdite. > Les communications sur internet n'�tant pas s�curis�es, l'int�grit� de ce > message n'est pas assur�e et la soci�t� �mettrice ne peut �tre tenue pour > responsable de son contenu. > _______________________________________________ > Mono-devel-list mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Rafael "Monoman" Teixeira --------------------------------------- I'm trying to become a "Rosh Gadol" before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
