all groups > dotnet performance > august 2005
StreamReader->regex->Win32 api marshalling
Posted by Tim at 8/31/2005 7:35:01 AM
I've written a C# .Net console app that reads massive (upto 2Gb) text files
of csv data using a StreamReader with UTF7 in configurable-size char[]
blocks, parses the read data using the .Net regex facilities and re-formats
it before sending it to a Managed C++ .Net dll that wraps the SQLServer... more >>
Strnage problem with program jumping too 25% cpu
Posted by Rune Lanton at 8/30/2005 5:03:09 AM
Hi!
I am developing a .Net app and I have got some problems with the program
suddenly using 25% cpu... The strange thing is that my program is not doing
anything(as far as I can tell), and the UI is just as responsive as ever,
even though it's single threaded (shouldn't it get a little slug... more >>
Simulating a slow network connection
Posted by Wells Caughey at 8/24/2005 9:42:44 AM
I am currently writing a client/server application that will be deployed
across a wide range of computing environments. Some of these environments
will have broadband networks where as few others will have wireless internet
access that does not go faster than 19,200 bps. Because I am develop... more >>
Class library vs Web Service for multi-UI
Posted by Joe at 8/22/2005 11:03:02 PM
Dear all,
If i use the same Business Logic in a VB.NET and ASP.NET, the business logic
is the same to be used on VB.net windows application and Asp.net web
application.
Which method to implement the business is better ( Class Library or web
service)
I'm afraid if i change the business lo... more >>
C++.NET & message loop
Posted by Darth Bill at 8/22/2005 6:40:02 PM
I am updating an existing managed C++ application that uses a timer to
refresh an OpenGL window. I would like to improve performance by updating
the OpenGL window inside of the message loop, as would be done in a game, but
have not been able to find a way to access the message loop itself. D... more >>
Memory Leak in C# Windows Service
Posted by Vladimir at 8/19/2005 7:53:24 PM
I created a windows service that performs a MSSQL2000 database analysis in a
separate threads with a specified interval. And when running this service
uses a lot of system memeory and it does release it after finishing it's
jobs and starting to "sleep". I use there Microsoft.AplicationBlocks.Data... more >>
Command-Line Args
Posted by Mike Harrington at 8/17/2005 11:56:51 PM
Two-part question:
1) Why does the .NET 1.1 framework treat \" as an escape character, but
does not recoginize any other characters?
Example:
a commandline argument of:
MyProgram "C:\Program Files\"
would process the token as:
args[0] C:\Program Files"
My second question is... more >>
.Net performance counters Problem
Posted by lapalj at 8/17/2005 9:39:08 AM
I'm currently trying to profile with perfmon a .Net application because of a
memory leak. I'm able to view in perfom all the necessary counters found
under .Net CLR Memory, Process and Memory. However, when logging the counters
to a file with perfmon, only the non .Net counters are logged cor... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ngen.exe question
Posted by chewie at 8/16/2005 10:14:04 AM
I'm trying to improve the startup time of a simple winform app using
ngen.exe. I register myappl.exe with the negen tool
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ngen myapp.exe), but I notice
no improvement in startup time. I’m assuming that I can start myapp.exe from
its original l... more >>
.NET 1.1 server garbage collector
Posted by Scott McFadden at 8/15/2005 4:51:00 PM
My C# application runs as a mixed mode (managed and unmanged) .NET service
on a dual processor Win2003 server. How do I configure my environment to
take advantage of the server version of the .NET garbage collector?
thanks
scottm
... more >>
Process suspended
Posted by christian.benien NO[at]SPAM gmail.com at 8/14/2005 12:44:11 PM
We currently see the following behaviour in our main process (under
high load)
- All threads are suspended
- Performance counters don't publish any data
- 0% CPU usage (all CPU goes to other processes)
This sometimes goes on for 10-20 seconds. We do a lot of I/O (network
and disk), P/In... more >>
Handles leak during remoting - how to release stubborn handle?
Posted by Dekel at 8/14/2005 11:41:53 AM
Handles leak during remoting - how to release stubborn handle?
I see handle count increase every call to ProcessMessage
---
ServerProcessing spres = _next.ProcessMessage(
sinkStack,
requestMsg,
requestHeaders,
requestStream,
out responseMsg,
out responseHeaders,
out respon... more >>
Port .Net 1.0 application to Windows Server 2003
Posted by Alex Ayzin at 8/10/2005 11:04:30 PM
Hi,
We have a complex application (C#, EnterpriseServices (COM+), MSMQ, etc).
Application was developed with .Net Framework 1.0 and running on Windows
2000
with SP3. We need to port it to Windows 2003. By default, Windows 2003 has
..Net Framework 1.1 installed. Initiall we were planning an a... more >>
windows service as scheduling engine multithreaded...performance ?
Posted by sahridhayan at 8/10/2005 9:51:01 PM
we have certain products in c# web/winforms running in same machine..
all the applications has different tasks to be performed on a scheduled time..
so we have different scheduling service (windows service) running...
each one will look for its own database.. table records based on that it ... more >>
N Tier Architecture ?
Posted by Silent Ocean at 8/10/2005 8:27:37 PM
Hi
1. I am in process of designing N-Tier Application using ASP.NET. Can
anyone guide me the right material or microsoft guidelines document
which I can used in designing the N-Tier application.
2. I would also like to know whether to use Web Services or .Net
Remoting in designing N-Tier... more >>
Performance Issue with Singleton Object
Posted by binodp NO[at]SPAM gmail.com at 8/10/2005 12:47:58 AM
I need to understand that would it be a problem if?
Situation : I have a Bussiness FrontController which would take all the
call from Presentation Tier. Presentation tier passes a "Request
Object" to the Frontcontroller which in turn passes to the Factory
Object which decides which manager is ... more >>
Issue with the System.Timers.Timer
Posted by Hitesh at 8/5/2005 6:30:06 AM
Hi,
I have an instance of System.Timers.Timer running in my application.
I keep my application open through out the day (over night)
Next morning when I log in my Timer does not raise the elapsed event based
on the interval.
Is there any issues with the System.Timers.Timer or do I have... more >>
Performance of try {} finally {} blocks
Posted by michael at 8/4/2005 11:25:55 PM
I was wondering if using a try {} finally {} construct has any performance
impact (compared to not using a try{} finally {}):
Does this
public void function()
{
try
{
// ..
}
finally
{
// Clean up resources
}
}
run any slower than:
public void function()
... more >>
As Good Multithreaded Performance As You Can Get
Posted by Kieran Benton at 8/4/2005 2:35:17 AM
I'm currently in the middle of migrating a legacy C++ app to C# in
order to solve a number of issues in the original system, namely
unreliable operation (due to sloppy coding) and awful performance. The
system is essentially a middleware app taking socket connections from
webservers, doing some ... more >>
Why would .NET code run slower on a 3GHz Xeon box versus a 1.2Ghz
Posted by Rob at 8/3/2005 12:29:01 PM
We are an ASP and are converting our application from VB to VB.NET. Our web
farm is a mix of older dual processor 1.2GHz servers and newer dual processor
3.0GHz Xeon servers. When we originally got the new 3.0GHz boxes our VB code
thrived on them, dramatically outperforming our 1.2GHz boxes ... more >>
DataGrid Performance in Beta 2
Posted by sambarbas NO[at]SPAM gmail.com at 8/2/2005 9:05:05 AM
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 =... more >>
|