I need to speed up transfers across my gigabit ethernet connection. Right now, I'm doing something almost exactly like this, but I'm only seeing about 40% of that when I run this code below.
I also ran this script on all of my (Mac Pro) machines before testing
#!/bin/bash
sudo sysctl -w net.inet.tcp.win_scale_factor=8
sudo sysctl -w ...
I need a simple way to test SQL queries for speed. I am not to worried about hardware differences, I basically need a relative number.
This is what I've been doing with PHP (its fuzzy, but works):
// CONNECT TO DB HERE
$sub = new YomoSubscription(95,783);
$t = microtime(TRUE);
// contains the SQL db call i'm testing
$fp = $sub->gen...
I have the following jQuery statement which works fine but I was wondering if it could be shortened and if making it more concise would speed up performance or not?
The reason for the strange starting tag is that it is for a wordpress theme.
Cheers in advance!
jQuery(document).ready(function($) {
$(".sidebar ol#navigation li.work a")...
Hello,
I was wondering if anyone has a neat solution to getting the iphones upload/download rates programitacally in order to be able to set upload chunk sizes and things of the like...Any input on this?
Thanks
...
For programming tasks that need to be developed quick how does Perl compare to Java? How about as far as speed, would Perl be much slower than Java?
Whenever I need to program something quick I use Java. All the available libraries and built in goodness make Java pretty nice in my eyes. But there's a lot of people that swear by perl. In...
Currently, we build a group of static libraries prior to building our app. The issue is that for each library there is some variation of the ./configure, make , test sequence. I would like to be able to cache the results of the configure step to speed up the build, since it is common to build on the same platform multiple times. We are t...
How can I say which class of many (which all do the same job) execute faster? is there a software to measure that?
...
I've decided to encrypt my entire site with SSL, even if only parts of it are actually necessary. End result being that the site is now a bit slower. So, my questions are:
Should I have only encrypted the members section of the site (keeping in mind I do have login forms on the frontpage)?
Should I perhaps decrease the encryption to 12...
I'm using MIT's Simile to display thumbnails and links with faceted filtering. I works great, but large data sets (greater than 500 elements) start to slow significantly. My user base will tolerate seconds, but not 10's of seconds, and certainly not minutes while the page renders.
Is it the volume of data in the JSON structure?
Is it...
A site I built with Kohana was slammed with an enormous amount of traffic yesterday, causing me to take a step back and evaluate some of the design. I'm curious what are some standard techniques for optimizing Kohana-based applications?
I'm interested in benchmarking as well. Do I need to setup Benchmark::start() and Benchmark::stop() f...
I recently wrote a short algorithm to calculate happy numbers in python. The program allows you to pick an upper bound and it will determine all the happy numbers below it. For a speed comparison I decided to make the most direct translation of the algorithm I knew of from python to c++.
Surprisingly, the c++ version runs significantly...
Hi.
I would like to know whether the usage of Attributes in .Net, specifically C#, is expensive, and why or why not?
I am asking about C# specifically, unless there is no difference between the different .Net languages (because the base class libraries are the same?).
All the newer .Net technologies make extensive use of attributes, ...
I want to repeat this question using python. Reason is I have access to 10 nodes in a cluster and each node is not identical. They range in performance and I want to find which is the best computer to use remotely based on memory and cpu-speed/cores available.
EDIT: Heck, even just a command line interface would be useful. Any quick and...
Consider two directories:
/home/user/music/flac
/media/MUSIC/flac
I would like the second directory (destination; a USB drive) to contain the same files and structure as the first directory (master). There are 3600+ files (59G in total). Every file is scanned using unison, which is painfully slow. I would rather it compare based on f...
UPDATE: This issue is note related to the XML, I duplicated the table using an nvarchar(MAX) instead and still same issue. I will repost a new topic.
I have a table with about a million records, the table has an XML field. The query is running extremely slow, even when selecting just an ID. Is there anything I can do to increase the spe...
A PIL.Image.grab() takes about 0.5 seconds. That's just to get data from the screen to my app, without any processing on my part. FRAPS, on the other hand, can take screenshots up to 30 FPS. Is there any way for me to do the same from a Python program? If not, how about from a C program? (I could interface it w/ the Python program, pot...
I had previously posted a question about my query speed with an XML column. After some further investigation I have found that it is not with the XML as previously thought. The table schema and query are very simple. There are over 800K rows, everything was running smooth but not with the increase in records it is taking almost a minute ...
A piece of code I'm working on has to analyze a foreign file format produced by another software - a "replay" from a game to be more exact. In this replay, every actions produced by the players are saved with a variable number of arguments.
My software produces an analysis of user's action, doing stuff like producing a graph of their act...
Hi everyone!
I'd like to know how to extract GPU using C++. However, the information that I'm interested in is not the data that is available from the Win32_VideoController class (ahh.. the Murphy's Laws of Programming). Specifically, I'm interested in the (Memory and Shader clocks).
I'd like to know how to get at that information.
I'...
We are trying to compare 7 different programming technologies for browser based client applications.
Please give your thoughts on this speed comparison.
What will the future bring?
Will HTML5 replaces Flash and Silverlight in the browser or will JavaScript always be too slow for any CPU intensive applications.
Could Roozz plugin comp...