Solutions welcome in any language. :-) I'm looking for the fastest way to obtain the value of pi, as a personal challenge. More specifically I'm using ways that don't involve using #defined constants like M_PI, or hard-coding the number in.
The program below tests the various ways I know of. The inline assembly version is, in theory, th...
In .NET perspective:
What is a Memory Leak?
How to understand whether your application leaks? What are the effects?
How to prevent a memory leak?
If your application has memory leak, does it go away when the process exits or killed? Or do memory leaks in your application affects other processes on the system even after process completi...
In interpreted programming languages, such as PHP and JavaScript, what are the repercussions of going with an Object Oriented approach over a Procedural approach?
Specifically what I am looking for is a checklist of things to consider when creating a web application and choosing between Procedural and Object Oriented approaches, to opti...
I'm running 32-bit Windows 2003 R2 in VMware 6.0.3 on my Windows XP 32-bit host OS. I have run all the Windows updates, but haven't done any other tweaking. About once every hour (but not quite on a schedule) my CPU usage goes to 100%, slowing everything down for about 1 minute. When I can get taskmgr up, I see that usually a process cal...
I plan to be storing all my config settings in my application's app.config section (using the ConfigurationManager.AppSettings class). As the user changes settings using the app's UI (clicking checkboxes, choosing radio buttons, etc.), I plan to be writing those changes out to the AppSettings. At the same time, while the program is runni...
Does anybody has some comments of performance of Filehelpers ?
EDIT: Maybe some experience from day life usage ?
@omaxx: what was toal size of your file?...
Which of the following has the best performance?
I have seen method two implemented in JavaScript with huge performance gains, however, I was unable to measure any gain in C# and was wondering if the compiler already does method 2 even when written like method 1.
The theory behind method 2 is that the code doesn't have to access DataTa...
Is CompileAssemblyFromDom faster than CompileAssemblyFromSource?
It should be as it presumably bypasses the compiler front-end....
How much database performance overhead is involved with using C# and LINQ compared to custom optimized queries loaded with mostly low-level C, both with a SQL Server 2008 backend?
I'm specifically thinking here of a case where you have a fairly data-intensive program and will be doing a data refresh or update at least once per screen an...
I'm working on a project which uses .NET Remoting for communication between the client application and an object server. For development, the client, server, and MSSQL database are all running on my local development machine.
When I'm working at the office, the responsiveness is just fine.
However, when I work from home the speed is ...
In a machine with AIX without PERL I need to filter records that will be considered duplicated if they have the same id and if they were registered between a period of four hours.
I implemented this filter using AWK and work pretty well but I need a solution much faster:
# Generar lista de Duplicados
awk 'BEGIN {
FS=","
}
/OK/ {
...
Suppose I have a stringbuilder in C# that does this:
StringBuilder sb = new StringBuilder();
string cat = "cat";
sb.Append("the ").Append(cat).(" in the hat");
string s = sb.ToString();
would that be as efficient or any more efficient as having:
string cat = "cat";
string s = String.Format("The {0} in the hat", cat);
If so, why?
E...
I'm working on a project were we need more performance. Over time we've continued to evolve the design to work more in parallel(both threaded and distributed). Then latest step has been to move part of it onto a new machine with 16 cores. I'm finding that we need to rethink how we do things to scale to that many cores in a shared memory ...
Last year we were focused on improve our technical capacities and leveraging our knowledge of various architectures and frameworks and methodologies.
This year (August mark the start of a new accounting year) we need to improve our productivity. By this I don't means we need to get more KLOCs per month per programmer. What we need is t...
Looking for feedback on :
http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools...
What are people's opinions on the best tool for performance testing ASP.NET applications. Specifically we are looking for a tool that could potentially replay IIS logs to mimic production load. Something that hooks into perf counters would also be useful.
Ideas?
...
to yesteryear's standards such as nHibernate, good old custom ORM, or something like LLBGenPro?
Also, having run the benchmarks, what are your suggestions?
...
What is it?
How do I implement connection pooling with MS SQL?
What are the performance ramifications when
Executing many queries one-after-the other (i.e. using a loop with 30K+ iterations calling a stored procedure)?
Executing a few queries that take a long time (10+ min)?
Are there any best practices?
...
Hi all,
We're running a custom application on our intranet and we have found a problem after upgrading it recently where IIS hangs with 100% CPU usage, requiring a reset.
Rather than subject users to the hangs, we've rolled back to the previous release while we determine a solution. The first step is to reproduce the problem -- but we...
Has anyone used Jaxer in a production environment, I am curious as to how it holds up compared to something like php, ruby, etc. and if anyone knows of any pitfalls to using it that are well known.
...