microsoft.public.dotnet.framework.performance Archive - September 2004
Post a message to this list
Messages
Page: 1
String.Empty and performance (10 replies)
microsoft.public.dotnet.framework.performance
I have been wondering why one would use String.Empty rather than the constant "" since it would seem that "" is not platform dependent. Then it occurred to me that at runtime probably "" is converted to a string object and maybe this overhead is avoided with String.Empty. On the other hand maybe the C# compiler performs this simple optimization anyway. Basically I'm just trying to determine if Str...
Using a DataReader to fill DataSet/DataTable (3 replies)
microsoft.public.dotnet.framework.performance
Hello, I am wondering what is the difference between using a DataReader to fill a DataSet/DataTable vs. using a DataAdapter to fill the Dataset/DataTable. Is there any performance issue? Is this an issue at all? Thanks
Performance Testing... (2 replies)
microsoft.public.dotnet.framework.performance
Hi, Now I am developing C#.net Web Application. It is almost completed. Now I want to check performance testing of it. I want... 1) Create 100 user environments, mean 100 users simultaneously request a same page I want to see response time and load on server. 2) As per my idea we can use test project it has web base test and load test inbuilt in Microsoft visual studio Whidbey. Any one has idea ab...
Windows Media Services, H.323 and Video streaming in general (2 replies)
microsoft.public.dotnet.framework.performance
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of technologies, among them WMP, RealMedia, H.323 and XviD (not sure if it is suitable for streaming even) . I would like to seek the advice of those experts on the following questions, 1) What is the best ...
.Net 1.1 SP1 - Definite measurable performance slowdown (2 replies)
microsoft.public.dotnet.framework.performance
Background... I've been working on a project for some months now which runs code that is CPU intensive, therefore I have been very careful to keep track of the code's performance and to make optimizations where possible. I just installed .Net 1.1 SP1 and was curious to see how the code performed. To my surprise it actually runs marginally slower, about 10%. I haven't yet been able to isoltate any ...
Application initialisation problems (5 replies)
microsoft.public.dotnet.framework.performance
Hi there, We have a large database application written in managed C which loads 100 managed c dlls. The app also includes some unmanaged classes some of which has instances declared globally. However every dll is compiled with managed extensions on. We are encountering occasional initialisation problems when running our app on a server with 3GB of RAM, which are not happening on our dev machines. ...
Best Profiling Tool? (5 replies)
microsoft.public.dotnet.framework.performance
Hi, I am looking at Profiling my ASP.NET app, as despite being small, with all resources closed and disposed it forces the w3wp process on my hosters server to recycle, and so I am trying to cut down on memory usage and so wondered which of the profilers available for a price ofr free would serve me best. I have been using the Performance monitor in Admin tools, and so have lots of stats on Virtua...
Transaction Cost Analysis (7 replies)
microsoft.public.dotnet.framework.performance
Hi, Maybe someone can shed some light on TCA... I've read a few articles about TCA and here's what I understand: 1. You gather statistics for your web app and put together a user profile that show the actions performed by users and how often they occur. 2. You break the user profile into individual transactions. 3. You write a load test script to test each individual transaction and increase the l...
Page Counter... (3 replies)
microsoft.public.dotnet.framework.performance
Hi, I am developing C#.net web base application. I want to know how I can page count a same page. I want to this type. 1) When a new user open page he/she see the number of pages open same time and total how many time this page open. Suppose 10 user open search.aspx every user see this page count 10; And also see total open 12,000 (it is total time's opened this page) 2) If user refers page page c...
.NET app is slower on dual processor machine (2 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi I created an Application which runs slowly on our Dual processor machine which is a part of a two node cluster too. To see whether it's a .NET problem i created another test app as below. long Start DateTime.Now.Ticks; for (int i 0;i 1000;i ) { Console.WriteLine("Print Something " i); Thread.Sleep(10); } long End DateTime.Now.Ticks; long Diff End Start; Console.WriteLine("Time Taken is : " Diff...
.NET is slower on win2000 cluster - .NET 1.1 Bug ? (2 replies, VIP)
microsoft.public.dotnet.framework.performance
I have written a .NET application to be deployed on a two clusterd SQL server machine. My probelm is it runs slower on the very powerful Cluster node than my developmet PC. It's actually very slow. I wrote a simple application as below to to see whether the problem is actually with .NET. public FileTest() { Console.WriteLine("Start here"); long Start DateTime.Now.Ticks; for (int i 0;i 1000;i ) { C...
Reading through large datasets in blocks (2 replies, VIP)
microsoft.public.dotnet.framework.performance
Hello All, I'm trying to process a couple of gigs worth of data, which I have to process in blocks of an unknown size to be determined from the data itself. If I use a DataAdapter on the whole set of data, the docs tell me it will load the whole mess into memory, and I haven't got a couple of gigs to spare. If I use a DataReader to get the data one line at a time the docs tell me it won't do this,...
OutOfMemory Exception but heaps of free memory (11 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi, Can one tune the Framework memory management? I have an app that fills a large table (approx 10 million records 2 int columns), however prior to filling the table an exception is thrown claiming I am out of memory. I've checked the memory usage at this point (using TaksManager Performance tab) and it varies but it's approx 1.3GB or so. I have 4GB of memory (4 x 1GB SIM). Also I've loaded some ...
I need help with architecture design,please. (4 replies)
microsoft.public.dotnet.framework.performance
I need help with architecture design,please: I have a server which constantly downloading messages from the internet and store them inside a data base. the server have two administrators options: one is a local windows application,and the second is a web application The administrator can either delete messages,add new messages,and send messages i am new to .NET remoting,so here is my idea in gener...
OutOfMemoryException was thrown (3 replies, VIP)
microsoft.public.dotnet.framework.performance
Hello everyone, I wrote a web service that monitorizes some directories and their contents. It returns a XML document as string. A web application calls this web service and parses the XML to display the status of directories graphically. It worked fine on Windows 2000. Then I transfered the web application on Windows 2003 and an OutOfMemoryException is thrown when there are too many files. Note t...
Threading problems with COm Interop (6 replies, VIP)
microsoft.public.dotnet.framework.performance
I am using a third party COM componenet which is not thread safe in a .Net web application using Interop. When two threads (two requests) are trying to access the componenet it is giving an error and crashing. It works fine if the request is made only one at a time. How can I code around this problem so that only one thread operates on the COM object at one time. Any help will be greatly appreciat...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification