[Mono-devel-list] Re: [Mono-list] Mono ASP.NET is very slow with big html pages...

Ben Maurer bmaurer at ximian.com
Wed May 11 12:30:56 EDT 2005

On Wed, 2005-05-11 at 10:41 +0200, Hubert FONGARNAND 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
> 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?

Could you run mono --profile /usr/lib/mono/1.0/xsp.exe and then use a
tool (openload or the apache tool ab)? You should use a few 100 requests
(so you probably want to go out to lunch or something ;-).

If you could make a modified version of your program available, it would
be a wonderful asset for our benchmarking. Since it will be easier for
us to look into problems, you are likely to see a better benefit.

Thanks for pointing this out!

-- Ben

More information about the Mono-devel-list mailing list