[Mono-bugs] [Bug 79206][Maj] Changed - Page performance with LinkButton
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Aug 31 08:14:43 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by andriy.tkach at stu-electronics.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79206
--- shadow/79206 2006-08-29 11:52:43.000000000 -0400
+++ shadow/79206.tmp.29987 2006-08-31 08:14:43.000000000 -0400
@@ -2,13 +2,13 @@
Product: Mono: Class Libraries
Version: 1.1
OS: other
OS Details: SUSE Linux 10.1
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: Sys.Web
AssignedTo: gonzalo at ximian.com
ReportedBy: andriy.tkach at stu-electronics.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -42,6 +42,152 @@
We use Mono 1.1.16.1 with proper mod_mono & apache 2.2 under Suse Linux 10.1
------- Additional Comments From andriy.tkach at stu-electronics.com 2006-08-29 11:52 -------
Created an attachment (id=17543)
mentioned in description test case
+
+------- Additional Comments From andriy.tkach at stu-electronics.com 2006-08-31 08:14 -------
+Additional comments from my colleague (as is):
+
+--------------------------------------------------------------------
+There is a bug in Mono (asp.net) performance. When there is LinkButton or
+DropDownList on page, requests count is very low.
+
+Test machine configuration (Test by Microsoft Application Center Test):
+ CPU: Celeron 800 MHz
+ RAM: 512 Mb
+ OS: SUSE Linux 10.1
+
+
+================================================================================
+# Page with above 100 RPS
+ #
+================================================================================
+
+This aspx page, have only a button, and when I test it performance,
+requests
+count are above 100 RPS (One user connection):
+
+ASPX Page:
+------------------------
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+ <HEAD>
+ <title>WebForm1</title>
+ <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
+ <meta content="C#" name="CODE_LANGUAGE">
+ <meta content="JavaScript" name="vs_defaultClientScript">
+ <meta content="http://schemas.microsoft.com/intellisense/ie5"
+ name="vs_targetSchema">
+ </HEAD>
+ <body MS_POSITIONING="GridLayout">
+ <form id="Form1" method="post" runat="server">
+ <asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
+ </form>
+ </body>
+</HTML>
+
+Surce code of this page:
+------------------------
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+ <HEAD>
+ <title>WebForm1</title>
+ <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
+ <meta content="C#" name="CODE_LANGUAGE">
+ <meta content="JavaScript" name="vs_defaultClientScript">
+ <meta content="http://schemas.microsoft.com/intellisense/ie5"
+name="vs_targetSchema">
+ </HEAD>
+ <body MS_POSITIONING="GridLayout">
+ <form name="Form1" method="post" action="Index.aspx" id="Form1">
+ <input type="hidden" name="__VIEWSTATE" value="" />
+
+ <input type="submit" name="Button1" value="Button" id="Button1" />
+ </form>
+ </body>
+</HTML>
+
+
+
+================================================================================
+# Page with 9-11 RPS
+ #
+================================================================================
+
+And when I add to this aspx page LinkButton or DropDownList, requests
+count are only 9-11 RPS (One user connection):
+
+ASPX Page:
+------------------------
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+ <HEAD>
+ <title>WebForm1</title>
+ <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
+ <meta content="C#" name="CODE_LANGUAGE">
+ <meta content="JavaScript" name="vs_defaultClientScript">
+ <meta content="http://schemas.microsoft.com/intellisense/ie5"
+ name="vs_targetSchema">
+ </HEAD>
+ <body MS_POSITIONING="GridLayout">
+ <form id="Form1" method="post" runat="server">
+ <asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
+
+ <asp:DropDownList id="DropDownList1" runat="server"
+AutoPostBack="True">
+ <asp:ListItem Value="1" Selected="True">1</asp:ListItem>
+ <asp:ListItem Value="2">2</asp:ListItem>
+ </asp:DropDownList>
+ </form>
+ </body>
+</HTML>
+
+
+Source code of this page:
+------------------------
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<HTML>
+ <HEAD>
+ <title>WebForm1</title>
+ <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
+ <meta content="C#" name="CODE_LANGUAGE">
+ <meta content="JavaScript" name="vs_defaultClientScript">
+ <meta content="http://schemas.microsoft.com/intellisense/ie5"
+ name="vs_targetSchema">
+ </HEAD>
+ <body MS_POSITIONING="GridLayout">
+ <form name="Form1" method="post" action="Index.aspx" id="Form1">
+ <input type="hidden" name="__VIEWSTATE"
+
+value="DA0ADgEFAQ4BDQAOAQUDDgENDQAMGhgNU3lzdGVtLlN0cmluZ05tc2NvcmxpYiwgVmVyc2lvbj0xLjAuNTAwMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1Ym
+
+xpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkCAQExAQEyGhkAAAICAQACAgAOAQUAAAAA" />
+
+ <input type="submit" name="Button1" value="Button" id="Button1" />
+ <select name="DropDownList1"
+ onchange="javascript:__doPostBack('DropDownList1','')"
+ id="DropDownList1">
+ <option selected="selected" value="1">1</option>
+ <option value="2">2</option>
+ </select>
+
+ <input type="hidden" name="__EVENTTARGET" value="" />
+ <input type="hidden" name="__EVENTARGUMENT" value="" />
+
+ <script language="javascript">
+ <!--
+ var theForm = document.getElementById ('Form1');
+ function __doPostBack(eventTarget, eventArgument) {
+ theForm.__EVENTTARGET.value = eventTarget;
+ theForm.__EVENTARGUMENT.value = eventArgument;
+ theForm.submit();
+ }
+ // -->
+ </script>
+ </form>
+ </body>
+</HTML>
+
+I think the problem is in ViewState or in postback mathod realization.
+--------------------------------------------------------------------
More information about the mono-bugs
mailing list