Is there a good profiler for javascript? I know that firebug has some support for profiling code. But I want to determine stats on a longer scale.
Imagine you are building a lot of javascript code and you want to determine what are actually the bottlenecks in the code. At first I want to see profile stats of every javascript function an...
Hello,
I have a user on what we will call PageA.aspx. This user needs to get to PageB.aspx. The obvious way is have a hyperlink that simply sends them to PageB.aspx. That got me thinking about the other ways to get between pages. One could use javascript to do a client side jump. There is also the seemingly bulky server side redire...
I've been working on a .NET application and experiencing a memory error (I'm a java developer that can do other things), I've been thinking about performance. What I'm posting about was not the memory problem. The memory problem just started me thinking.
I've repeated a trend in my ASP.NET application that I've used on countless J2EE ap...
I'm working on a fairly large project for a trading company in Philadelphia. The company utilizes automated trading algorithms which process streaming quotes and send out quotes for hundreds of products dozens of times per second. Obviously, performance is a significant concern. (Which makes me question why we're using VB.NET, but that's...
Hi guys
I have the following statement:
SELECT CASE WHEN (1 = 1) THEN 10 ELSE dbo.at_Test_Function(5) END AS Result
I just want to confirm that in this case the function wont be executed?
My reason for asking is that the function is particularly slow and if the critiria is true I want to avoid calling the function...
Cheers
Antho...
String.Format Vs. String.Concat both are used to crate string. Which one is faster?
Any body have any idea?
...
What, if any, is the performance overhead of using XML as the interface between a Php application (A) and a MySQL database via another Php application (B), rather than direct querying from Php application (A) to the database?
How much will this change between application (A) and the database being on the same server, and being on separa...
Hello,
I have a question about performance difference (from the perspective of Cycles consumed) between a static library and shared library(windows - dll).
I have a static library for some code. I also have a dynamic library for the same code.
I have linked these two libraries to a application.
Will there be any difference in perform...
The rule of thumb is that it is okay to pass small structs by value and larger ones should be done pointers.
My question is where exactly is this cutoff point? How large can the structures be before you are better off passing them by pointer.
I know this will vary between platforms, but I assume some rough estimates could be given. A ...
There are a number of ways to compare strings. Are there performance gains by doing one way over another?
I've always opted to compare strings like so:
string name = "Bob Wazowski";
if (name.CompareTo("Jill Yearsley") == 0) {
// whatever...
}
But I find few people doing this, and if anything, I see more people just doing a straig...
Hello,
I'm just starting WCF...but will this slow down interprocess communication further compared to the old remoting,Tcp sockets or Named Pipes?
Thanks
...
Is there a way to slow down my development computer to try to replicate a defect that only occurs intermittently on a slow machine?
(For what it's worth, Ableton Live has a CPU usage simulation feature, but I've never seen something like this for debuggers.)
...
When using the SQLIO benchmark tool on a 4-core Dell server with 6 15k 450GB (fast) drives, RAID 0, we found the max throughput was 2MB per second. But when configured as RAID 5, we get 30 MB per second.
It seems that the RAID controller, Dell Perc 5i integrated controller, is maxing out the throughput per disk. With RAID 5, I expe...
In PHP+MySQL+PDO, would it be much slower to do
Get an item's ID by name
Get item data by ID
than to just
Get item data by name
The latter is only one query, so obviously faster. The former makes for cleaner code though (because the item's ID is often also just known beforehand), so it would be better if the performance differenc...
Disclaimer: I just started work on a new contract, which forced me to switch from MSSQL to Oracle. So I am a complete newcomer to Oracle and probably bring many bad MSSQL practices with me. Okay, on to the question...
According to an answer in this thread, semicolons are bad and should be avoided. I realized this firsthand after spendin...
This is a follow-up questions on a previous one.
Consider this code, which is less toyish than the one in the previous question (but still much simpler than my real one)
import sys
data=[]
for line in open(sys.argv[1]):
data.append(line[-1])
print data[-1]
Now, I was expecting a longer run time (my benchmark file is 65150224 li...
I find that if there are a lot of classes the compilation time is dramatically increased when I use one *.h and one *.cpp file per class. I already use precompiled headers and incremental linking, but still the compile time is very long (yes I use boost ;)
So I came up with the following trick:
defined *.cpp files as non-compilable
de...
What is main difference between INSERT INTO table VALUES .. and INSERT INTO table SET?
Example:
INSERT INTO table (a, b, c) VALUES (1,2,3)
INSERT INTO table SET a=1, b=2, c=3
And what about performance of these two?
...
I'm interested in using Spark for an open source pet project of mine that runs with the asp.net mvc framework. I wonder if anyone has real experience with it and knows how it performs compared to the normal asp.net view engine?
I know that marketwatch.com runs asp.net mvc and Spark.
...
When I have many controls on a Form (i.e. Label, Button etc) that do almost the same thing, I often use one method to handle all the controls Click, MouseDown, MouseUp events.
But to know which of the controls throwing the event and access the properties of that control I need to cast the "sender" object to the correct type.
The thing ...