Questions tagged "performance" (page No.1)

Monitor disk activity on a per file basis

I am trying to find a program that actively monitors how much data is read and written per second to open files and then sorts files with the highest usage at the top. This would be similar to iotop but on a per-file basis instead of per-thread or per-process. It ...

I'm running ColdFusion 9 and PHP 5.3.10 in IIS 7.5 on Windows 2008 R2, and suddenly today all my php requests take over 10 seconds each, why?

My php requests were consistently faster than my ColdFusion 9 requests, but starting today, all of my php requests are taking 10 seconds or longer to execute where as before they were taking 200 ms - 500 ms. The ColdFusion 9 requests are the same speed as before. ...

Diagnosing slow upload speed

I have recently moved several hundred meters from my previous residence and I am now experiencing what seems to be, to me at least, some strange performance issues. I would like to know if there is anything I can do to improve things on my end. Alternatively, I would ...

Increase speeds with an unmanaged GBE switch?

I have a network with a dead slow 10/100 router. The router cannot be replaced, and I wish to speed up transfers between two, or possibly three computers on the network. If I plug an unmanaged gigabit switch into one of the router's ports, then plug the two computers into the ...

Here are my favourites: Apache PHP MySQL Ubuntu CSS reset jQuery Sphinx memcached Using CodeIgniter as the frame work and edited using TextMate photoshop terminal svn and manage the project with Trac. If you're on the Mac, once you've done your code changes, check them over with: svn diff | mate and you can view your changes with some nice ...

Mysql big table multiple dates in where clause query performance

I have following table with 2 million rows in it. CREATE TABLE `gen_fmt_lookup` ( `episode_id` varchar(30) DEFAULT NULL, `media_type` enum('Audio','Video') NOT NULL DEFAULT 'Video', `service_id` varchar(50) DEFAULT NULL, `genre_id` varchar(30) DEFAULT NULL, `format_id` varchar(30) DEFAULT NULL, `masterbrand_id` varchar(30) DEFAULT NULL, `signed` int(11) DEFAULT NULL, ...

Huge interpreter performance delta between Core2 and i7

I am implementing an interpreter, and after some meddling I finally managed to get decent performance - on my work PC - a core 2 processor, the interpreter performance was only about 7% lower than the same native code, which is pretty good for me. Then I got home I ran ...

Difference in Autobench between num_conn and low_rate / high_rate?

I'm running a load test using Autobench and httperf, and am having trouble understanding the example they give on their site. The example uses the flags --low_rate 20 --high_rate 40 --rate_step 5 --num_call 10 --num_conn 5000 I get that this will start with 20 connections, and step up to 40 at ...

Apache Bench: Why so many 503s?

I'm running a dedicated server on DreamHost: Quad Core, 4GB RAM. Linux (Debian), Apache, PHP (with XCache for opcode caching), MySQL. The URL I'm querying has 18 MySQL queries every time. I'm wondering why when I do "ab -n 500 -c 50 http://<url>/" I'm getting the following results: Server Software: ...

Should I move class methods to prototype?

I have class function Foo(a) { this.a = a; this.bar = function () { console.log(this.a); }; this.buz = function () { this.a(); console.log('bzz'); }; } and I'll have quite many instances of this class. Should I move methods to ...

Strategy for moving javascript to the bottom in CodeIgniter?

On my site I have one global Javascript file which includes jQuery and code for the drop down menu among other things. Many pages also have custom Javascript for minor page-specific interactions, tables etc. My current set up on each view is a header.php file, basically covering everything from the doctype ...

Silverlight wcf lag when calling functions

I am trying to debug performance issues with a .net 3.5 silverlight 3 - wcf service based application. the service is running under IIS 7 on a server that is not under heavy load The problem is that certain actions in the application are taking a long time to complete, in ...

How to Speed up the DNN Site

can any one give me the idea how to speed up the DNN Site. I have already done setting in siteSetting Option and cached the site. But steel my site is slow down . Can any one help me... Thanks in Advance ...

How to merge elements of a GridView

i'm implementing a activity where the user can see images from different sizes and proportions on a GridView. I don't want to modify this images proportions. Is it possible with GridViews or my best option is to build a TableLayout and just add each image to a TableRow? Example: If it ...

C# equivalent of C++ writing structure to network

I recently inherited a program that mixes C++ and C#. It interfaces to other components over the network, and to a Driver DLL for some special hardware. However, I am trying to figure out the best way to send the data over the network, as what is used seems non-optimal. The ...

MySQL vs PHP query performance issues

I have a sql query that runs in like 2 seconds in mysql (Navicat) and it runs through 600,000 locations returning all the table data and calculates the distance between a lat and long that I put in. The SQL is something like this: select *, 3959 * acos( cos( radians(37) ) ...

Load YouTube Performantly

The way YouTube recommends you load a video is like so: <iframe id="ytplayer" type="text/html" width="640" height="360" src="http://www.youtube.com/embed/Zhawgd0REhA" frameborder="0" allowfullscreen> This loads the video as an iframe so they can detect iOS or other devices and deliver a swf or HTML5 player depending on what's necessary. These snippets come from their Player API Demo. ...

Any Way To Make This Snippet More Efficient?

I just started playing around with MASM styled assembly and after playing around long enough managed to make a sort of loop. This is just from tinkering so I was wondering if anybody could give me any insight and explanation on if this code is inefficient or how it can ...

Is it possible to use vtune on certain code snippets in a binary and not an entire binary?

I am adding usage of a small library to a large existing piece of software and would like to analyze (in finder detail than just in&out rdtsc() or gettimeofday calls) the overhead and it's attribution of the small library. Using things like rdtsc() I can get a sense of the ...

« Previous12345678910 ... 13931394Next »Show All