Re: DataGrid Performance in Beta 2

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



DotNet version 2 is in beta. Why do you use a beta version product? You'd
better wait for final release of dotNet version 2.



<sambarbas@xxxxxxxxx> wrote in message
news:1123161910.564195.189590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
help !!!!

sambarbas@xxxxxxxxx a écrit :

> Hi,
>
> I've noticed a big performance difference between 1.1 and beta 2.0 when
> binding a datasource with a datagrid.
>
> try this code on the 2 frameworks (a simple winform)
>
> private void Form1_Load(object sender, EventArgs e)
> {
> DataSet ds = new DataSet();
>
> int debut = 0;
>
> debut = Environment.TickCount;
> ds.ReadXmlSchema(@"D:\clients.xsd");
> ds.ReadXml(@"D:\clients100000.xml");
> Debug.WriteLine("XML = " + (Environment.TickCount - debut));
>
> debut = Environment.TickCount;
>
> dataGridView1.DataSource = ds.Tables[0];
>
> int dureeAff = (Environment.TickCount - debut);
> Debug.WriteLine("DataGrid : " + dureeAff);
> MessageBox.Show("DataGrid : " + dureeAff);
> }
>
> My XML file contains 100000 records.
>
> 2.0 is better in parsing XML (4 sec against 14 sec on 1.1)
> 2.0 is very bad when binding datagrid (10 sec against 0.6 sec on 1.1)
>
> i knew that xml parsing was optimized in latest version, but why
> databinding is so long ??????
>
> will it be fixed in final ?
>
> bye


.



Relevant Pages

  • Re: DataGrid Performance in Beta 2
    ... Someone in my company has to make tests on several techs (java, delphi, ... its not very smart to benchmark dotnet beta with 2 final ... > DotNet version 2 is in beta. ... >> My XML file contains 100000 records. ...
    (microsoft.public.dotnet.framework.performance)
  • Re: VB Express 2005 Beta
    ... > Does anyone know of a group and location for VB Express 2005 Beta. ... Look for newsgroups with the words "dotnet" or ... "vsnet" in their name. ...
    (microsoft.public.vb.general.discussion)
  • RE: Real world testing for dotnet 2.0 Beta2
    ... "Gravy" wrote: ... > I wish to start testing deployment of my app written using dotnet 2.0 Beta ...
    (microsoft.public.dotnet.framework)
  • Real world testing for dotnet 2.0 Beta2
    ... I wish to start testing deployment of my app written using dotnet 2.0 Beta ... Prev by Date: ...
    (microsoft.public.dotnet.framework)
  • Re: DataGrid Performance in Beta 2
    ... > I've noticed a big performance difference between 1.1 and beta 2.0 when ... > binding a datasource with a datagrid. ... > My XML file contains 100000 records. ...
    (microsoft.public.dotnet.framework.performance)