Comparing performance - htc vs jQuery
I have a (IE only) web app which now uses htc to render html widgets. I am considering migrating the app to jQuery. How does the performance compare between htc and jQuery. ...
I have a (IE only) web app which now uses htc to render html widgets. I am considering migrating the app to jQuery. How does the performance compare between htc and jQuery. ...
I've recently deployed an ASP.NET application to my shiny new VPS and while I'm happy with the general performance increase that a VPS can give over a shared hosting solution, I'm unhappy with the startup time of my application. My web application takes a fair amount of time to start up when my client first hits it. I'm not running it i...
Is anybody experiencing extreme slowness when using Visual Studio 2008? I have a fairly beefy machine so I don't think hardware is the issue, and I didn't have these issues with 2005. Basically everything that I do is slow, from opening a new project, to opening code, to saving files. All of my Windows Updates are up, I have VS2008 SP...
Hello. I was called to work on an older .NET legacy web app recently. The performance had recently fallen quite sub-par, as the amount of data in the system had quadrupled. Had been fine for the previous 2 years. It was using a .xsd file to talk to a stored procedure that narrowed the results sufficiently (though no paging) and feeding ...
NOTE: This is a solution for Project Euler problem 14. If you still want to solve it yourself then don't read on. The problem was to find the number below one million which, as starting number for the Collatz sequence, produces the longest such sequence. My initial code was as follows: $r = @{} for($i = 1; $i -lt 1000000; $i++) { ...
I saw some JSF projects developed by my collegues and these projects seemed to me very slow. Does anybody have the same opinion? I'm currenly using jsp+jstl and jQuery for "rich" client. I wonder what advantages and disadvantages have modern frameworks (jsf, wicket, tapestry..) over old plain jsp. It would be great if people who ...
Developing a simple game for the iPhone, what gives a better performance? Using a lot of small (10x10 to 30x30 pixels) PNGs for my UIViews' backgrounds. Using one large PNG and clipping to the bounds of my UIViews. My thought is that the first technique requires less memory per individual UIView, but complicates how the iPhone handle...
Hi, I would like to trace performance inside a c# mobile application, in order to know the amount of time needed by some long-running methods. The goal is to know the performance at the level of methods. This tracing would be decided at runtime. First idea that came is to maintain a global variable "doWeHaveToTrace", to check it each t...
I'm in the process of trying to optimize a query that looks up historical data. I'm using the query analyzer to lookup the Execution Plan and have found that the majority of my query cost is on something called a "Bookmark Lookup". I've never seen this node in an execution plan before and don't know what it means. Is this a good thi...
Any suggestions on why a VB6 program would be slower when compiled than when running in the debugger? I'm compiling it with "Optimize for fast code." Notes: I measure performance by running the compiled version and the non-compiled version on the same machine. I based my predictions on wall-clock time, since 30 minutes vs. 100 minutes...
We have a dev server running C# and talking to SQL server on the same machine. We have another server running the same code and talking to SQL server on another machine. A job does 60,000 reads (that is it calls a stored procedure 60,000 times - each read returns one row). The job runs in 1/40th of the time on the first server compar...
I have a query that has been running every day for a little over 2 years now and has typically taken less than 30 seconds to complete. All of a sudden, yesterday, the query started taking 3+ hours to complete and was using 100% CPU the entire time. The SQL is: SELECT @id, alpha.A, alpha.B, alpha.C, beta.X, beta.Y, beta.Z, ...
I have a MyISAM table with more than 10^7 rows. When adding data to it, I have to update ~10 rows at the end. Is it faster to delete them and then insert the new ones, or is it faster to update those rows? Data that should be updated is not part of the index. What about index/data fragmentation ...
Hi guys, could you please suggest on the steps to be followed for lucene performance. especially with large data (around 1TB of pdf files to be indexed) ...
I've got an UIScrollView with a grid of images. Currently they're only 6, but there might be a few hundred some day. So of course it would be a bad idea to create a few hundred UIImageView objects inside that UIScrollView and fill them all up with image data. I think I was reading this somewhere in the Apple docs: They recommend to only...
I have a method to replace every character except those I specify. For example, ReplaceNot("test. stop; or, not", ".;/\\".ToCharArray(), '*'); would return "****.*****;***,****". Now, this is not an instance of premature optimization. I call this method quite a few times during a network operation. I found that on longer strings...
Let me set up the situation. We are trying to insert a modestly high number of rows (roughly 10-20M a day) into a MyISAM table that is modestly wide: +--------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +--------------+--------------+------+-----+---------+-------...
I am working on a project that uses a queue that keeps information about the messages that to be sent to remote hosts. In that case one thread is responsible to put the information into the queue and another thread is responsible for get the pop the information from the queue and send. In that case the 2nd thread needs to check the queue...
I have a function that receives three different "people" objects and generates a new "compatibility" object based on the combined values in the "people" objects. However, about 1/3 of the time the three "people" objects that it receives as input are the same as one before, though possibly in a different order. In these cases I do NOT wa...
I've seen some clients complaining about slowness of my website lately and I'm pretty sure that the problem is related to their network. I'd like to be able to justify this to myself more thoroughly and also be able to more proactively reach out to clients that appear to be having network issues before they come banging on my door. If ...