I am currently investigating a performance issue in an application and have highlighted the following;
I have a class -
public static class CommonIcons
{
...
public static readonly System.Windows.Media.ImageSource Attributes = typeof(CommonIcons).Assembly.GetImageFromResourcePath("Resources/attributes.png");
...
}
As a te...
For my thesis I need to measure the performance of Binary Binding vs. basicHttp(Soap) Binding in WCF Services and a Silverlight Client for a specific object.
I already found some example performance data for these bindings.
I wonder how to measure them by myself for a specific object.
Are there any tools which make this process easy o...
When I measure the throughput of my Java application, I see a 50% performance increase over time:
For the first 100K messages, I get ~3,000 messages per second
For the second 100K messages, I get ~4,500 messages per second.
I believe the performance improves as JIT optimizes the execution path.
The reason given for not saving the JI...
Scenario:
WCF Service call routing to COM+ application.
netTCPBinding, throttling set pretty high.
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple)]
Service has two methods, one simply returns the string was input, the other calls the COM+ component and FOR TESTING returns ...
I have a report which, when rendered on its own, has the following performance times (taken from ExecutionLogStorage table):
TimeDataRetrieval: 6776
TimeProcessing: 142
TimeRendering: 30
When this report is used as a sub-report which is repeated 34 times, the performance of the overall report comes out as follows:
TimeDataRetrieva...
I have a bunch of text files on disk, each one is just a sorted list of nonnegative integers, newline delimited:
2
14
67
134
654
1130
My files are pretty big - they can easily contain hundreds of millions of numbers. I want to write a Java program to read each of these files and write out a new text file containing all of the numbers ...
I have two "date" fields that I need to join on.
The first is a normal datetime in the format yyyy-mm-dd hh:mm:ss
The second is a varchar(8) in the red-headed step child format mmddyyyy
Now this gets painful because there is no easy way to convert to the corresponding type. There is a built-in format that is yyyymmdd but that does...
I am trying to use the javax.xml.xpath package to run XPath expressions on a document with multiple namespaces, and I'm having goofy performance problems.
My test document is pulled from a real, production example. It is about 600k of xml. The document is a fairly complex Atom feed.
I realize that what I'm doing with XPath could be d...
I am experiencing performance problems in a WPF application which contains a series of Infragistics grid views with the intent of a quick "scroll" effect without needing a scrollbar . I have taken the problem down as low as I can go by pre-building all the views in separate grids and then swapping the respective "active" view in and out ...
Hi,
I am using a dynamically expanding background image (similar to the new google home page background image feature). I have an jquery lavalamp animated menu that sits on top of the large background image.
The jquery animation is nice and smooth in all browsers, except for (you guessed it) IE. In IE8, it is choppy.
I've ruled out ...
Hi All,
I need an expert insight to my problem. most of my experience is development so i dont have enough grasp regarding server issues or maintenance. Main problem is when traffic is high request to this SQL server times out. there are several applications connecting to this server, some are web some are windows app. i would like to k...
In my app I need to do a lot of INSERTS. Its a Java app and I am using plain JDBC to execute the queries. The DB being Oracle. I have enabled batching though, so it saves me network latencies to execute queries. But the queries execute serially as separate INSERTs:
insert into some_table (col1, col2) values (val1, val2)
insert into some...
I’m writing some scripts to look for vulnerabilities to the padding oracle exploit in ASP.NET for which I need to look at the HttpStatusCode in the response. I’m doing this across a large number of my sites with different scenarios and performance is important. I can do this just fine with the following code:
var req = (HttpWebRequest)W...
Does defining an instance as dynamic in C# mean:
The compiler does not perform compile-time type checking, but run-time checking takes place like it always does for all instances.
The compiler does not perform compile-time type checking, but run-time checking takes place, unlike with any other non-dynamic instances.
Same as 2, and this...
How scalable is memcache in an enviornment where a cache is potentially getting expired every second. In fact, my question is not just about scalability of memcached but about situations where a model is continuously changing and the best way to scale that type of environment. One might say, why cache if the cache is getting expired ever...
As performance testing is regarded as black box type so why it required development skills?
...
I have 2 tables which have many records (say both TableA and TableB has about 3,000,000 records).vr2_input is a varchar input parameters enter by the users and I want to get the most 200 largest "dateField" 's TableA records whose stringField like 'vr2_input' .The 2 tables are joined as the following:
select * from(
select * from...
Recently we started working with Database project in Visual Studio 2010. I have added a reasonably large database to the solution and imported all objects. All warnings have been eliminated so it builds fine.
The one thing that really annoys me is that when you open the solution, the database project will start to load the database sch...
I want to make a sin func. so here's my code:
inline double _cdecl Sin(double Rad)
{
_asm
{
fld QWORD PTR [Rad]
fsin
}
}
my func works faster(ratio of about 6) than the standard sin. (there are probably some problems in it, but it's enough for me)
but if I'll do for example
for(int i = 0; i < 1000000; ++i...
I have postgres 8.4 installed on ubuntu server with 4 GB Ram and Intel E5504 2Ghz
I've created one table
create table foo
(
id serial primary key,
fname varchar(30),
lname varchar(30)
)
the insert of 10 000 rows takes about 4 seconds first time and 1 second after
but the select of 100 000 rows takes 4 seconds always,
select * from...