I've read a blog post a while ago claiming a Java application ran better when it was allowed to utilize a single cpu in a multicore machine: http://mailinator.blogspot.com/2010/02/how-i-sped-up-my-server-by-factor-of-6.html
What reasons could there be for a Java application, running on multicore machines to run much slower than on a sin...
I am wondering when writing css rule, which one below render faster:
#avriable_info table td {width: 250px; font-size: 13px;}
or
#avriable_info table td {
width: 250px;
font-size: 13px;
}
...
in a canvas, i have around 2000 framework element derived items.. which inturn consist of around a total of 12000 drawing visuals. This canvas represents a 2d view of a complex machine. And this canvas has pan and zoom logic.
The drawing comes in a jiffy..
but when the machine/drawing is fully loaded.. then the pan and zoom is very j...
How can I check how long a process spends waiting for the CPU in a Linux box?
For example, in a loaded system I want to check how long a SQL*Loader (sqlldr) process waits.
It would be useful if there is a command line tool to do this.
...
Is this possible?
I want to be able to press a button on the iPhone app and something happens to the Mac app. Maybe via 3G and wifi.
Any ideas?
...
There's so much hype about ASP.NET MVC these days, but the truth is that ASP.NET webforms is not going anywhere for some time. Is there any way for current developers to optimize ASP.NET webforms to perform as fast as ASP.NET MVC?
I have noticed a significant difference in speed between ASP.NET MVC and ASP.NET webforms. MVC is a lot sna...
Spring MVC 3.0 with Annotation seems like a great framework for the enterprise web development. However, the issue of performance tuning often comes up when you deal with any web applications, and I am wondering how the use of Annotations affects the strategy for improving performance. For example, would the Annotation-based validations ...
Here is what I am doing currently.
Get data from database in DataTable (max records would be 100 but stored proc will search against more than 500,000 records. I already took care of search optimization in database. I am looking how I can improve the performance as much as I can in step# 2 and step# 3 below.)
Create a generic list (Li...
I'm using the Java2D TextLayout class together with a LineBreakMeasurer and an AttributedCharacterIterator to draw a piece of text into a box. The text is wrapped.
Profiling shows me that the code is very slow. Most of the time is lost in the method TextLayout.draw(..).
Does anyone have a suggestion for speed improvement?
// Get i...
Possible Duplicate:
Is shifting bits faster than multiplying and dividing in Java? .NET?
To double a value, is <<1 more performant than *2 in modern languages?
I'm particularly interested in Java and C#. Does having optimization turned on at compile-time change things?
...
I've spent about a week reading all the freely available information on iPhone drawing, animation, and OpenGL. Using the available iOS drawing examples like Apple's GLPaint and Quartz sample apps I've written a few versions of a painting tool, but I've hit many limitations which I think is due to "not knowing what I don't know." Quartz ...
We are using MySQL to get data from database, match the data and send back the matched data to user. The MySQL Db contain 10 table , 9 tables are having less data which needed to be matched with 10th table which has 25 Million records and still adding. I need to create C# application to match the data and send to user. After every 1 min,...
MySQL has special table type MyISAM that does not support transactions. Does Oracle has something like this? I'd like to create write-only database(for logging) that needs to be very fast(will store a lot of data) and doesnt need transactions.
...
I'm trying to create a matrix data structure in C. I have a struct and have a two dimensional void pointer array (size is dynamically defined at the heap) for the cargo part(data) in this struct.
Given a column index, I want to get the values of this column in a one dimensional array. It is easy to this with one for or while loop. But i...
I want to reduce number of objects in memory. There may be many objects having same values. Is there way to find out all the objects which has same values in heap dump.
...
I hope I'm not being too long winded in this question, I just want to make sure that what I'm asking is completely clear (I think it's rather confusing :).
I've got a database with a bunch of tables with all my foreign key constraints set up. Relations are sometimes several tables deep, and there are also cases where a child is related ...
I'm writing a lighter version of some containers from STL for myself.
(I know that STL was written by professional programmers and I am too stupid or too ambitious if think that I can write it better than they did. When I wrote my list (only with method I need), it worked few times faster. So, I thought it's a good idea. But, anyway.)
...
I have a Perl server and when it boots up, it connects to 1000+ clients. It takes about 30-45 minutes to setup all the connections with SSL. I'm trying to decrease the start time to something more reasonable. I tried playing with threads to offload the work, but can't get it to work. Creating the socket in one thread and getting it back ...
My next task is tune-up our C# application to minimise the memory usage, reduce threads used and improve performance.
There will be a small status message received by our application every 100ms. The application will process these status message. Then a 2M data will be received by our application. That day will be processed and 4 more ...
I have two table in database A,B
A: summary view of my data
B: detail view (text files has detail story)
I have 1 million record on my database 70% of the size is for Table B and 30% for Table A.
I want to know if the size of database affect the query performance response time ?
Is it beneficial to remove my Table B and store it on ...