speed

Does speed of an C/C++, Windows console application depend on whether the target is 32 or 64 bit?

Supposing that memory is not an issue does targeting a 64 bit OS make a C/C++ Windows console application run faster? Update: Prompted by a few comments/answers the application involves statistical algorithms (e.g., linear algebra, random number draws etc). ...

findViewById vs local reference in Activity

Would it be there noticeable speed improvement if I would create local references to needed view elements (e.g. EditText or Button) in my activity (in onCreate()) and use them for accessing needed elements or it does not much matter if I always use findViewById() when I need to access some particular element? ...

My Site Video upload speed is slower than other site?

I have uploaded a same file to two different sites it had 30% time difference what are all the major factors affecting this? and what should i do to increase my sites upload speed? ...

Drupal 5.x site shows > 550 MB memory consumption of every page. How to speed up Drupal 5.x site.

I developed a site in Drupal 5.x and now its done and working fine, but its very slow. Working fast some time, but for imp modules it takes time. When I see the performance logs, its consuming my memory for 150 MB per page MINIMUM. This is the minimum. Most of the pages its shows 550~700 MB consumption. What I did till now. Javascr...

Question about video load speed on my website

Hi, I currently have an mp4 video embedded on my website, and I am using a flash video player called FlowPlayer to play the video. You can see the video here: http://www.verolinens.com. The video file is about 14mb big, and I would like it to be even bigger to improve the video quality. However, I also need the playback to be smooth ...

Java execution speed

I'm new to Java programming. I am curious about speed of execution and also speed of creation and distruction of objects. I've got several methods like the following: private static void getAbsoluteThrottleB() { int A = Integer.parseInt(Status.LineToken.nextToken()); Status.AbsoluteThrottleB=A*100/255; Log.level1("Absolute T...

Js, is it really better to include at the end of the page?

Currently I'm doing this. <js> </head> Pagespeed and other articles suggest doing this instead. <js> </body> </html> I would love the opinion of stack overflow! Thank you ...

brainstorming about speed on internet from the perspective of developer

for those of us who are developers, the main concern above all is speed, speed and speed. i have spend years developing a websites from those little ones to big stores, web applications and so on. but my main goal besides a lot of other things :) was speed, so what technologies currently available and what best practices should be used ...

.NET Remoting slows down when internet connection starts up

I have been using .net remoting with client and server on my dev machine, and everything was fine. And then I've located the server on the other machine, connected with my through a 100-Mbit LAN. It has a VPN connection, allowing it to connect to the internet. Whenever a VPN connection is started, .NET remoting gives out huge lag for ev...

Speed performance: Reduce HTTP requests or not?

Hi everybody, A theoretical question: We all know about the pro's of minifying and combining javascript files in order to reduce HTTP requests to speed up a website. But when popular javascript libraries is used (jQuery for instance), it isn't too stupid to assume that these already have been downloaded to the clients computer from anot...

What is the relative processing speed of manipulating data with XML or OOP techniques? (i.e. XProc or XSL vs C# or Java)

What is the difference in processing speed for executing a process using XML manipulation or using object-oriented representation? In general, is it faster to maximize or minimize the reliance on XML for a process. Let it be assumed that the code is highly optimized in either circumstance. A simple example of what I am asking is which...

Best way to test code speed in C++ without profiler, or does it not make sense to try?

On SO, there are quite a few questions about performance profiling, but I don't seem to find the whole picture. There are quite a few issues involved and most Q & A ignore all but a few at a time, or don't justify their proposals. What Im wondering about. If I have two functions that do the same thing, and Im curious about the differenc...

AS3: Calculating the current upload speed (or throughput)

Hello, I am uploading files using the upload() method of the FileReference class. I want to display the current connection speed and I was wondering what was a good way to do that. My current technique is to use a Timer every 1 mili second such as follows: var speed:Function = function(event:TimerEvent):void { speed = Math.round((...

Java: How to get upload and download speed

I write a program to upload and download files to FTP server but I can not monitor the speed and the transfer rate. I used FTPClient class and its two methods retrievFile() and storeFile() ...

Python: get number of items in generator without storing the items

I have a generator for a large set of items. I want to iterate through them once, outputting them to a file. However, with the file format I currently have, I first have to output the number of items I have. I don't want to build a list of the items in memory, as there are too many of them and that would take a lot of time and memory. Is...

Calculating socket upload speed

Hi, I'm wondering if anyone knows how to calculate the upload speed of a Berkeley socket in C++. My send call isn't blocking and takes 0.001 seconds to send 5 megabytes of data, but takes a while to recv the response (so I know it's uploading). This is a TCP socket to a HTTP server and I need to asynchronously check how many bytes of ...

Many roundtrips to the database, or all data / filter?

Which method would be fastest / most efficient? A) Read all data (822 rows) including those I do not need then filter / output those I do B) 3 Round trips to the db using params filled via the last query to select only the data I need Thanks. ...

How can I improve the loading speed of this web portfolio?

I've been playin with Google's Page Speed, and it gave me some tips to improve the loading speed of my site: http://alexchen.zxq.net/ (original hosting) http://alexchen.co.nr (URL redirection) I minified some Javascript files (I didn't compress them), and optimized some images, but it still kind of slow. I'm not very sure if I'm over...

Site Error File Does Not Exist

I used http://site-perf.com/ to test the speed of my site (http://sweatingthebigstuff.com) and it shows one file that gives a 404 error. That file does not exist (hence the error), but how do I found out how to fix it? I don't know where it is being called (definitely not in the code). The file in question is: sweatingthebigstuff.com/w...

Force a Timer to cycle in a set time [C#]

Hello all. I'm rewriting a VB 6.0 program in C# .Net for an internship. It measures incoming data from a precision grinding machine and gives a readout on its accuracy. A lot of the meat of the program is done within a Timer object, with an interval of 10. The program is unfinished, so it has yet to be tested on an actual machine, but ...