| Loading large files (8 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hello all, I'm trying to make a 3D transformation with image data. For the 3rd 1 D transformation I have to jump in a 12Gbyte file, to get the data for the transformation. The jumpimg in the file cost a lot of time. I am doing the filehandling with help of the filestream and binaryreader class in C#. Is there an other (faster) way existing, to read the data out of the file? Thanks in advance, rega... |
|
| Application Center Test setting concurrent Users (3 replies) |
| microsoft.public.dotnet.framework.performance |
| I am running an ACT test to stress my web application. I have created my script, which seems to work fine. I want to run with 500 concurrent users, but when I do this it seems the test center sends all 500 requests at once, this is causing many of the connections to fail. What I would like to do is stagger the users hitting the submit button, this would be a more accurate test of the real world. I... |
|
| OutOfMemoryException (11 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hallo, I get in my application server after a couple of days OutOfMemory Exceptions. When the OutOfMemory Exceptions occurs, the process shows ca. 400 MB virtual Memory in the Task Manager. Available are 3 GB real RAM and 5 GB virtual Memory on the maschine. The application server works internally with large DataSets (400 000 Rows in several DataTables). There is no remoting access to the DataSets... |
|
| Object instantiation (3 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| hi, i have a big database interaction class with many CRUD operations in it. We create instance of the class, and call a single function. Something inside me tells i can gain a performance boost if i convert this database interaction class to static (Shared in VisualBasic). Is it true? If it is, does the performance gain make sense for a class making db calls? |
|
| Multithreaded File Writes (7 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I have a system (written in C#) which writes out a large number of small textfiles. (300,000 ) Performance is an issue here, during the actual writing of the files stage of the application the processor runs at approx 20% and there is not continuous disk activity. You can also continue to use the machine hardly noticing any performance change in other applications. I have a theory that if I fire o... |
|
| ASP.NET Session Management (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi All, I was reading Perforance and Scalability Guide and reading Session State Management section. It says use SQL Server when using Web farm . No where are the metrics and the Why's are msiisng. The question that comes to mind is : 1. When using SQL Server or State Server , will the cost of Network Latency Serialization Creation of Session Objects from Serialized data bottleneck being 1 SQL Dat... |
|
| Regarding Opening a 1GB File for Processing. (11 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi Group, I have a huge one GB file to do some processing (sorting) using .Net Framework (C Sharp language). What is the best efficent way to do this. I have tried opening the file and reading it in blocks and do the sorting, and mergining the file, but its taking huge time more than 30 mins. What i know is the job of sorting this file can be done in 5mins (Best Minimum Time). Some ideas i have go... |
|
| Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT! (9 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| DEAR MICROSOFT: STOP TOUCHING MY CODE!!!!!! Stop ADDING these attributes to my tags meta:resourcekey "LiteralResource3" Your Web Developer 2005 express added that crappy and unneeded attribute to all my tags on my aspx page...you even added that attribute to the @page directive. The people who actually do work might have to to bounce back to a better HTML editor and NOT use 1.1 OR I don't even wan... |
|
| large viewstate (14 replies) |
| microsoft.public.dotnet.framework.performance |
| on an order entry form i have listbox showing customer lisitng @ approx 100kb and also its corresponding viewstate. this has a very neg impact on perf as each page load is about 300kb and takes several seconds. my Q is what alternative do i've, i dont mind taking the hit once, but since the cust list does not chg much then it does not make sence to fetch the list on every page load! thank you. |
|
| HERE WE GO AGAIN, Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT! (9 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| DEAR MICROSOFT: STOP TOUCHING MY CODE!!!!!! Stop ADDING these attributes to my tags meta:resourcekey "LiteralResource3" Your Web Developer 2005 express added that crappy and unneeded attribute to all my tags on my aspx page...you even added that attribute to the @page directive. The people who actually do work might have to to bounce back to a better HTML editor and NOT use 2.0 OR I don't even wan... |
|
| Fisrt Time (9 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi! I have a very strange problem, I know I have to expect that first time loading of a .NET application will take some extra time, but how can I open a Splash during that time?It takes at least 5 seconds until my sub Main process first line, I tried to put in cache the assemblies during registration but unsuccessful to fill a better performance. Tips?Explanations?Every peace of information is wel... |
|
| Informix .net provider - Sql server .net provider (4 replies) |
| microsoft.public.dotnet.framework.performance |
| Hello everybody We are currently writting a small app that will be delivered on an Informix DB and a Sql Server DB. We will be doing some performance check pretty soon for both databases. Is anybody using something else other than the IBM informix provider, and the regular SqlServer provider coming with the .net framework ? And if so, anybody happy with the ones they chose ? Regards |
|
| GC.Collect(2) (3 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi, I am trying to figure out how GC.Collect(2) works. here is what I did. I created a windows form with a button. on click of button, i have this simple code. object obj new object(); GC.Collect(2); return; before I press the button, I check these values in perfmon. (dont worry about the actual numbers..pls check the variation in the numbers of a particular type) Gen 0 heap size : 262140 Gen 1 he... |
|
| Memory Leak Experts! (27 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Anynone? "microsoft.news" msuot@dmod.com wrote in message news:... Hi all, Here is the example i would like everyone to concentrate on: static void Main(string[] args) { System.Collections.ArrayList list new System.Collections.ArrayList(); System.TimeSpan tenMins System.TimeSpan.FromTicks(DateTime.Now.Ticks).Add(System.TimeSpan.FromMinute s(1.5)); while(System.TimeSpan.FromTicks(DateTime.Now.Ticks... |
|
| Longer execution time under Release build... (3 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi there, I was testing performance of the some classes recently and spotted strange behaviour: simple loop executes faster when compiled under debug configuration than release... Take a look: DateTime before; DateTime after; TimeSpan total; before DateTime.Now; int j; for(int i 1; i 1000000000; i ) { j i / 2; } after DateTime.Now; total after before; System.Console.WriteLine( total.Milliseconds.T... |
|
| String Concatenation in VB.NET (7 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Is there a performance issue with using & to do string concatenation versus using the String.Concat method? What is the best practice for doing string concatenation in VB.NET? |
|
| Using Keyword Dispose and GC (4 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Our .Net team have been pondering about using keyword. We are using streams FileStream and BufferedStream. We use using keyword at FileStream, and not BufferedStream which wraps FileStream. So bunch of people said what if exception occurs buffered stream is not closed. My Argument is over advantages of using 'Using' keyword. First Advantage being Using used for Dispose (Deterministic Finalization)... |
|
| arraylist.clear (7 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I have a class vaiable of type ArrayList, I would like the varaible never to be collcted by the GC, at some points however I need to call the clear method on the variable. Am I correct in thinking that the calling clear on this varaible, makes the variable elegable for GC to dispose of it? And how do I make this vaiable last forever eventhough I need to clear it for undetermined periods of time? T... |
|
| BinaryWriter.Flush and BufferedStream.Flush (9 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I wish to use a BinaryWriter on top of a BufferedStream on top of a NetworkStream which is of course on a Socket. When I call the Flush method of the BinaryWriter I know that this should flush any data in the BinaryWriter's buffer, however does the BinaryWriter's Flush method call the underlying BufferedStream's Flush method also? In other words if I have a chain of Streams and I call Flush on the... |
|
| Real life cost of using exceptions for control flow? (68 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi. I'm working with an app that uses exceptions for control flow. These are code blocks where exceptions are thrown/caught regularly. A couple hundred exceptions occur per hour and they're caught close to the point of origination. I'm trying to decide whether to refactor... What is the cost of throwing an exception in the CLR relative to, say, a conditional statement? Are we taking talking 1 orde... |
|