I was reading at an apple site that shark captures everything that is running on my mac. Thats stupid. I want it to be constrained only to my iPhone app on the device, but there's just nothing to select the executable or something like that. Also in xcode, "Run > Run with Performance Tool > Shark" is grayed out. But shark 4.6x is running...
After a while I figured out I could bind Shark to the process of my executable in the simulator. Not on the device though. Well, anyways, here is something that makes absolutely zero sense, but looks bad:
42.2% 42.2% QuartzCore sw_scanline(int, int, int, ogl_poly_vert*, ogl_poly_vert*, ogl_poly_vert*, ogl_poly_vert*, unsigned int, voi...
I've heard that writing out the entire ASP.NET page in one go helps performance. Like having the following as the first line on Page_Load:
Response.BufferOutput = true;
And using Response.Flush at the end of all processing.
Does this help? If yes, are there any the disadvantages in using it?
...
Hi,
Please consider the following:
I am storing around 1.2 Million TIF files ranging from 40 KB to 120 KB in size.
These documents are stored on a windows server with NTFS file-system.
The documents are stored using the following variables:
client
document type
image folder
actual image
See below:
C:\<client_id>\<doc_type_id>\i...
Let's say you had to calculate the sine (cosine or tangent - whatever) where the domain is between 0.01 and 360.01. (using C#)
What would be more performant?
Using Math.Sin
Using a lookup array with precalculated values
I would anticpate that given the domain, option 2 would be much faster. At what point in the precision of the dom...
Given a .NET environment with Windows CE, can you persist thousands of records per second in a local database (SQL Server 2008 - standard or CE).
What are the performance issues with persisting realtime instrument data in a database versus a log file?
...
I'm trying to figure out the best way to minimize resource utilization when I have PHP talking to various backend services (e.g. Amazon S3 or any other random web services -- I'd like a general solution). Ideally, I'd like to have a single persistent connection to the backend (or maybe a small pool of persistent connections) with some ca...
Hi,
Please consider the following java source:
package com.stackoverflow;
public class CondSpeed {
private static final long COUNT = 1000000000;
private static final long OUTER_COUNT = 15;
private static long notEqOperator = 0L;
private static long notOperator = 0L;
private static long equalsFalse = 0L;
public CondSpeed() {
...
Hi,
I just want to ask for your experience. I'm designing a public website, using jQuery Ajax in most of operations. I'm having some timeouts, and I think it should be for hosting provider cause. Any of you have expirience in this case and may advise me on some hints (especially on timeouts handling)?
Thanks in advance to all.
Esteve
...
Hey guys,
I am quite new to iPhone development but I am trying to build a small medical app.
The app consists of tab bar controller and in the first item is a navigation controller and a grouped UITableView. The problem is that scrolling the table on my iPhone 3G is pretty slow. It is not so smooth like in the Settings app. The perform...
Hello,
my question is about two possible ways to access data:
(My question is about "real life usage" of java statements like below, accessing the data 2-10 times in a function. Not iterating over such statements with thousands of iterations/calls.)
System.out.println(request.getParameter("locale"));
System.out.println(request.getPar...
I have an HTML page that uses AJAX to retrieve messages from a server. I'm appending these messages to a as they are retrieved by setting its innerHTML property.
This works fine while the amount of text is small, but as it grows it causes Firefox to use all available CPU and the messages slow down to a crawl. I can't use a textbox, bec...
I'm looking to do a SELECT with an ORDER BY on a VARCHAR(200) field. Reading the DB2 v9.1 for zOS site on this it says
Ordering is performed in accordance
with the comparison rules described in
Language elements.
And in the rules for Character string comparisons says
Two strings are compared by comparing
the corresponding...
I was wondering if there is a difference between using .xib files for GUI design and doing this programmatically.
As it is a compiler I would assume that there is no relevant time lost.
Am I wrong?
...
with some performance counters they are compriseed of 2 counters the actual counter and a "base" counter used for calculations.
The question is, in .net, is there any easy way to get the linked base counter. from the web I've seen them linked by name but that only works sometimes.
Any ideas appreciated.
...
Has somebody measured performance differences between "real" SQL Server database and a SQL Server Express user instances (attached .mdf database file)?
What was the conclusion?
Was the .mdf database file fast enough for your application?
...
I would like a simple description of how to implement a virtualizingstackpanel for an ItemsControl that is databound to an observable collection in my MVVM.
I have an ItemsControl instance for each tab in a tab control, and switching tabs becomes VERY slow when the ItemsControl grows larger.
What can I do to speed up the app?
I open...
What are your "Symantec Endpoint" configuration recommendations for a developer PC? We do java development with Eclipse, IntelliJ, Ant and Tomcat. With "Symantec Endpoint" the build and server startup are quite slow.
Replacing or removing Symantec is not an option. See also http://stackoverflow.com/questions/111226/least-intrusive-antiv...
I have a couple of LINQ to SQL queries that I feel take a lot of time. What tool and techniques can I use to first find out:
How long they take and if there is
room for improvement?
Find out what I can change and easily test if those
changes are effective?
Both tools, techniques and reading resources would be appreciated (ergo up-vot...
If the ToolTip is binded to the data operations takes a long time, the UI thread is blocked.
Is it possible to solve this problem? The ToolTip should be shown optimal on idle and asynchronous.
You can see the effect in the following example.
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:io="clr-namespac...