Before you react from the gut, as I did initially, read the whole question please. I know they make you feel dirty, I know we've all been burned before and I know it's not "good style" but, are public fields ever ok?
I'm working on a fairly large scale engineering application that creates and works with an in memory model of a structur...
Moose is a fantastic object framework. The trouble is that, taken together with its dependencies, it's very big. Our profiling indicates that on our platform, simply loading Moose will incur a 5-6 second overhead on non-persistent CGI application scripts. That's just not acceptable for these one-off applications.
By contrast, when we...
I'm having huge variations in performance depending on how I express my selectors. For example, look at these 2 selectors, which select exactly the same elements:
A) someTableRow.find("td.someColumnClass").find("span.editMode").find("input")
B) someTableRow.find("td.someColumnClass span.editMode input")
I would expect to B) to be fast...
My last job evaluation included just one weak point: timeliness. I'm already aware of some things I can do to improve this but what I'm looking for are some more.
Does anyone have tips or advice on what they do to increase the speed of their output without sacrificing its quality?
How do you estimate timelines and stick to them? What d...
Hi,
I am using an animation that makes a flip (on ImageView), but animation works not smooth (looks like performance issue). The image is a PNG file of size 128x128.
Here I will post code of my animation:
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<scale
android:fromXSca...
Hello,
Hopefully is this question not too far away from the topic of this page!
Yesterday I installed Eclipse Galileo and after trouble with the JDK, its starting well. But I have big problems with performance. Every third second, Eclipse is hanging for a while. It runs not smoothly. I need a efficient IDE as Eclipse for work. So, it w...
My client ordered another addition to the script, but I can't figure out how to fix the slowdown? The table has about 50,000 rows.
while($stats = mysql_fetch_array($get_stats)) {
if ($stats['ip'] == gethostbyaddr($stats['ip'])) { // new code
$is_undef = "Yes"; // causing problems
} else { $is_undef = "No"; } // e...
My ASP.NET app takes a long time to load the first page request after an iisreset or app domain recycle.
Is there a way to reliably measure the amount of time it takes for the app domain to recycle?
...
It stands to reason that Visual Studio (.NET compiling and the IDE) would run better on a $5000 server than a $500 desktop.
Does anyone have experience running Visual Studio in a virtual machine hosted on a server in this price range, with access via RDP? (Assume modern hardware available for the stated prices.)
Obviously, there will b...
I'm developing a web app and currently using sql server 2008 for it. But, I am considering moving to another database (simpledb) for improved performance.
I have a background process that inserts up to 10000 rows every hour into one specific table. That table is also read from to display data in the web application. When the background...
Hi folks,
i'm trying to figure out how to use ApacheBench and benchmark my website. I installed the default site project (it's ASP.NET MVC but please don't put stop reading if u're not a .NET person).
I didn't change anything. Add new project. Set confuration to RELEASE. Run without Debug. (so it's in LIVE mode). Yes, this is with the ...
As the title states, how expensive are Python dictionaries to handle? Creation, insertion, updating, deletion, all of it.
Asymptotic time complexities are interesting themselves, but also how they compare to e.g. tuples or normal lists.
...
I have this flash animation (flash lite 1.1) and the problem is that on my phone it's quite slow.
It looks like as it was 5-6 FPS....
Could anyone tell me why and how to make it faster?
Thank you in advance.
Here are the swf and fla files:
Download
Edit: tested on SonyEricsson K550, W610, W300 and W880
...
Hi,
I have notices following:
if I have a project with minimum files in res folder, the project saves quickly, compiles quickly and launches quickly.
But if I have a lot of resources, my project is saving, compiling and launching during relatively long period of time. This is really frustrating if you do some minor UI updates, and yo...
I have an array of uint64 and for all unset bits (0s), I do some evaluations.
The evaluations are not terribly expensive, but very few bits are unset. Profiling says that I spend a lot of time in the finding-the-next-unset-bit logic.
Is there a faster way (on a Core2duo)?
My current code can skip lots of high 1s:
for(int y=0; y<hei...
Hi everyone!.
Is it better for performance to set EnableViewState to false for all pages and just except some controls that i want to enable their ViewState ?.
And how could i do this in web.config file ?.
...
Hi,
For a few different reasons one of my projects is hosted on a shared hosting server
and developed in asp.Net/C# with access databases (Not a choice so don't laugh at this limitation, it's not from me).
Most of my queries are on the last few records of the databases they are querying.
My question is in 2 parts:
1- Is the order of ...
What kind of performance gain will I get from ditching Apache for NGINX if I have a very low traffic web site (e.g. 1000 unique visitors a day, approx 5 requests/sec at highest load, and approx 50 MB of traffic per day since lots of photos are being displayed).
Specifically, what gains (if any) would I have for:
Loading speed of the w...
I'm writing an app that needs to output Decimals of varying lengths, and varying scale to strings without the decimal point for writing to a flat file as input to another system. e.g.
12345 -> Length:10, Scale:2 -> 0001234500
123.45 -> Length:10, Scale:2 -> 0000012345
123.45 -> Length:10, Scale:3 ...
I wonder if and how writing "almighty" classes in c++ actually impacts performance.
If I have for example, a class Point, with only uint x; uint y; as data, and have defined virtually everything that math can do to a point as methods. Some of those methods might be huge. (copy-)constructors do nothing more than initializing the two data...