Suppose you have huge amount of documents, a few millions, and more coming.
Suppose you have to publish them on a website with hundreds of thousands of daily pageviews, and suppose you have to let the visitors perform searches on all the documents.
What is the best way to store/retrieve the documents? And to perform searches on them?
Cu...
Ok, this is not trolling. It's a real, technical question.
Java has the reputation of being slow. There are jokes about it. I am not a great java user, the only occasional use I have is for applets, which are indeed quite slow, even on modern hardware.
My question: is Java really slow? If yes, why? Is it because of inefficient JVMs? Ga...
I would like to know how to speedup the perforce auto resolve when doing integration (merge yours and theirs if no conflicts exists).
Currently is taking hours for ~5000 files when running it using a proxy server even if the proxy server has the files pre-cached.
Also p4v interface doesn't give you any hint regarding the progress of th...
Would there be any performance differences between these two chunks?
public void doSomething(Supertype input)
{
Subtype foo = (Subtype)input;
foo.methodA();
foo.methodB();
}
vs.
public void doSomething(Supertype input)
{
((Subtype)input).methodA();
((Subtype)input).methodB();
}
Any other considerations or recomm...
Is there a way to force a spider to slow down its spidering of a wesbite? Anything that can be put in headers or robots.txt?
I thought i remembered reading something about this being possible but cannot find anything now.
...
I'm doing some broad performance investigation in an application I maintain and I've set up a simple solution to track the execution time of requests, but I'm unable to find information to verify if this is going to be satisfyingly accurate.
This appears to have netted some good information and I've already eliminated some performance i...
Hello everyone,
I'm currently working on the server side of an augmented reality project. It's a lot like http://www.livingsasquatch.com/. I'm using PHP/MySQL and FFmpeg to capture the webcam video and encoding it to .flv.
Basically Flash uploads the video as a long series of .jpg images. PHP then takes those images, generates a few th...
Shark started crashing on me when I use the "Processor Bandwidth (Core 2)" mode of analysis. It collects the samples, spends the time to analyze them, and crashes with a bus error about when the window should come up.
First I thought it might be because I've been running on low memory. I installed the latest system updates, rebooted, tr...
Hello,
I wanted to know how fast is a single-inheritance virtual function call when compared to one same boost::function call. Are they almost the same in performance or is boost::function slower?
I'm aware that performance may vary from case to case, but, as a general rule, which is faster, and to a how large degree is that so?
Thank...
I'm currently working on creating an environment to test performance of an app; I'm testing with MySQL and InnoDB to find out which can serve us best. Within this environment, we'll automatically prepare the database (load existing dumps) and instrument our test tools.
I'm preparing to test the same data dump with MySQL and InnoDB, but ...
Hi,
I'm trying to implement a view that shows a grid of information without using a UITableView, however, since I'm displaying about 36 different statistics, with its label I will have to initialize and use 72 UILabels. Does having so many UILabels mean that my iPhone app's performance will be significantly negatively affected? Is there...
C# Win Forms Application, requires caching of function's return values, that should be based on the parameters so if function's parameters changes while calling the function it must call again, but for same parameters it should return the value directly from cache, is there any existing C# facility available or any rapid easy technique o...
Historically I have used Thin as an application server (for Ramaze apps, but it could easily be for Rails), which receives requests from an Nginx web server.
Does anyone have experiences between using Thin/Mongrel/anything else to server Ruby applications to a web server? I am keen to keep things lean and fast.
...
I'm having a lot of elements which are generated and referenced (mouseover, clicks, position changes) a lot of times.
I have the ID's of those elements at hand. Is it wise to store the document.getElementById(ID) calls in a variable, or is it faster/just as fast/slower to call document.getElementById() everytime?
var app = [];
var app....
Is it more efficient for me to store dates as INTs and convert to and fro a string representation such as "2010-01-30" or is it alright to store dates as DATE when needing to perform very frequent integer queries such as WHERE Date < 20100130... Are dates internally stored as strings or integers?
...
Apparently frame buffers are fast and the best way to render offscreen to textures or to simply pre-create things.
My game however is not liking them at all. In the current code frame buffers are used often, sometimes each frame, several times. When used the game begins to slow down but not instantly. It seems to take time (Perhaps a bu...
Is there any overhead when we cast objects of one type to another? Or the compiler just resolves everything and there is no cost at run time?
Is this a general things, or there are different cases?
For example, suppose we have an array of Object[], where each element might have a different type. But we always know for sure that, say, e...
Hi,
I have an self-build asp.net page, (link), and on my own localhost-server it runs very fast.
But when I have uploaded it to my rent server (Win08Server, 3GB Ram, 3GhZ...) it goes very very slow (3-5 second a site-switch).
hot to find out what programm is disturbing or where I have a leak?
(the most of the content is static, only a...
I have been using Texture2D class from standard iPhone SDK samples for loading and displaying OpenGL textures . It works fine for me, although, there is still one small problem I would like to solve.
The performance of loading PNG textures is quite slow for me. I am trying to load about 10 PNG files with 512x512 size and it takes a whil...
I am looking for performance efficient ways to compare two byte[] for equality. Sizes are above 1 MB, so the overhead for each array element should be minimized.
I aim to beat the speeds of SequenceEqual or a hand-coded for-loop over every item, by avoiding the repetitive bound checks for both arrays. In the same way that Array.Copy co...