performance-comparison

best practices on accessing BizTalk 2009 hosted services from SharePoint 2010 UI through WCF (publish, subscribe method)

I have a scenario where we have a bunch of Services hosted in BizTalk we want to be able to access it from SharePoint UI (also may be some ASP .Net Applications hosted inside SharePoint. Can any of other have faced similar scenario's can share with the best practices in terms of performance vs maintainability. Since we have to cater S...

How do you compare the performace of valarrays vs built-in arrays?

Is there a significant penalty in using the more user-friendly valarray over built-in arrays? Do you know of some benchmarks? ...

How close can I get C# to the performance of C++ for small intensive tasks?

I was thinking about the speed difference of C++ to C# being mostly about C# compiling to byte-code that is taken in by the JIT compiler (is that correct?) and all the checks C# does. I notice that it is possible to turn a lot of these functions off, both in the compile options, and possibly through using the unsafe keyword as unsafe co...

Null-free "maps": Is a callback solution slower than tryGet()?

In comments to "How to implement List, Set, and Map in null free design?", Steven Sudit and I got into a discussion about using a callback, with handlers for "found" and "not found" situations, vs. a tryGet() method, taking an out parameter and returning a boolean indicating whether the out parameter had been populated. Steven maintained...

What's a good test to compare performance of different Ajax frameworks?

I want to compare the performance of different PHP/Ajax frameworks. I'm not looking for tools to run the tests, I'm looking for what tests to run. I'm in the design phase of a project so I don't have an existing app. I'd like to build the same page in several different frameworks and compare things like the generated client-side code ...

Is there a PHP benchmark that meets these specific criteria?

The actual question at the bottom... first some background info: I'm working on a tool which converts PHP code to Scala. As one of the finishing touches, I'm in need of a really good (er, somewhat biased) benchmark. By dumb luck my first benchmark attempt was with some code which uses bcmath extensively, which unfortunately is 1000x sl...

After writing SQL statements in MySQL, how to measure the speed / performance of them?

I saw something from an "execution plan" article: 10 rows fetched in 0.0003s (0.7344s) (the link: http://explainextended.com/2009/09/18/not-in-vs-not-exists-vs-left-join-is-null-mysql/ ) How come there are 2 durations shown? What if I don't have large data set yet. For example, if I have only 20, 50, or even just 100 records, I can...

CoreData and many NSArrayController

In my CoreData Application, I've an outline view on left of main window, acting as source list (like iTunes); on the right I display a proper view, based on outline selection. Each view has its components, such as table view, connected to array controller, owned by the specific view. Very often different views display same data, for exam...

What is the easiest straightforward way of telling which version performs better?

I have an application, which I have re-factored so that I believe it is now faster. One can't possibly feel the difference, but in theory, the application should run faster. Normally I would not care, but as this is part of my project for my master's degree, I would like to support my claim that the re-factoring did not only lead to impr...

Ruby on rails active-record generated SQL on Postgres

Dear all, Why does Ruby on rails generated more queries in the background on Postgres than MySQL? I haven't tried deploying Rails on production with Postgres yet, but I am just afraid this generated queries would affect the performance. Do you find Rails with Postgres is slower than MySQL, knowing that it produce more query on the backg...

VB.Net IO performance

Having read this page, I can't believe that VB.Net has such a terrible performance when it comes to I/O. Is this still true today? How does the .Net Framework 2.0 perform in terms of I/O (that's the version I'm targeting)? ...

Shall I optimize or let compiler to do that?

What is the preferred method of writing loops according to efficiency: Way a) /*here I'm hoping that compiler will optimize this code and won't be calling size every time it iterates through this loop*/ for (unsigned i = firstString.size(); i < anotherString.size(), ++i) { //do something } or maybe should I do it...

performance tradeoffs - CSS efficiency, CSS filesize, HTML filesize

From my interpretation, google recommends targeting HTML elements via id performs better than targeting purely by hierachy, but when filesize is added into this equation, how do the priorities end up? Just to be clear, there are three factors here which I wish to discuss the trade-offs between. CSS efficiency CSS filesize HTML filesi...

JAX-WS Callback vs Polling mechanism for Asynchronous invocation

Basically, under what circumstances should Callback vs Polling be use when implementing asynchronous web services? What are the pros and cons of each?...are there any guidelines or metrics out there? -Callback being the mechanism where the client provides a callback handler to process the response when eventually acquired. -Polling bei...

Is Linq Faster, Slower or the same?

Is this: Box boxToFind = AllBoxes.Where(box => box.BoxNumber == boxToMatchTo.BagNumber); EDIT: Box boxToFind = AllBoxes.FirstOrDefault(box => box.BoxNumber == boxToMatchTo.BagNumber); Faster or slower than this: Box boxToFind ; foreach (Box box in AllBoxes) { if (box.BoxNumber == boxToMatchTo.BoxNumber) { boxToF...

Which is faster for small web projects - MySQL or Oracle?

Hi Which is generally faster for small web projects - MySQL or Oracle? Please provide some proof (benchmarks or any other) of your opinion. ...

What are provenly scalable data persistence solutions for consumer profiles?

Consumer profiles with analytical scores [ConsumerID, 1..n demographical variables, 1...n analytical scores e.g. "likely to churn" "likely to buy an item > 100$ in worth" etc.] have to be possible to query fast if they are to be used in customizing web-sites, consumer communications etc. Well. If you have: Large number of consumers La...

are expanded war files faster?

I'm using embedded jetty to launch a web application which I have currently packaged as a war file. At first I was trying to prevent my war file from being expanded; then I began to wonder: Q: is there some advantage for jetty to expand the war file contents? And even if its slower... Q: how can I prevent jetty from expanding it (or ...

Is there a performance advantage in using a 64bit version of openCV+Emgu instead of 32bit?

Hello, I am developing an application that processes images captured in real time by a Point Grey camera (http://www.ptgrey.com/). The Point Grey SDK is a .net wrapper and can be either 32bit or 64bit. Then to process the captured images, I'm using a wrapper for openCV called Emgu CV (http://www.emgu.com/) that comes in both 32bit or ...

NSMutableArray Vs Stack

I am developing 2D game for iphone in Objectice-C.In this project I need to use stack, I can do it using STL(Standard template library) stacks or NSMutableArray, since this stack is widely used in the game which one is more efficient in terms of runtime speed and memory use? @interface CarElement : NSObject { std::stack<myElement*> *m...