For questions pertaining to the measurement or improvement of code efficiency.

learn more… | top users | synonyms (19)

2
votes
1answer
24 views

Why there is no a lightweight array construct in PHP? [duplicate]

Is there a lightweight replacement for PHP's array to be used when I don't need any of the associated array functionality? From what I know, array is a hash map internally, which is excessive and ...
0
votes
0answers
13 views

loading dynamic images using jquery slider options?

At the moment I am having big problems with flexslider populating the slider with this script. It basically is to inconsistent in loading time and doesnt always load every url image from the script. ...
0
votes
0answers
21 views

Rails extremely slow on simple static render

I'm relatively new to Rails, but decided to develop my new project on this platform. I'm using new Rails 4 framework based on Ruby 2.0 and Unicorn as application server served through Nginx. After ...
0
votes
0answers
10 views

HttpContext.Current.Cache VS. SQL Table Performance

We have a poorly designed shopping cart database. All processed objects that will be used to the front site are stored in HttpContext.Current.Cache on Application_Start. Processed objects I mean ...
0
votes
1answer
11 views

Knowing the number of records in table without loading it

I want to know the number of records inside a table without loading them. This is my actual code : $this->loadModel('Image'); $numberOfRecords = count($this->Image->find('all')); But ...
-1
votes
0answers
13 views

what is the best solution for manipulate “big data” in database? without Clean data or backup?

We have very large data IBM platform , every day up to 30.000.000 data insert in to database , so what is your solutions for increase performance , without make a backup for data periodic
0
votes
0answers
19 views

magento products pricing comparison from other stores in magento

products pricing comparison in magento from other stores like snapdeal,yedhi.com. i am using magento about mobiles stores,computer stores,home appliances,entertainments and cameras. Here i want ...
2
votes
1answer
74 views

Good references for algorithm efficiency [on hold]

I want to fundamentally learn algorithm efficiency by self study (hopefully both in how a program can make best use of hardware and in designing an algorithm). I wanted to know about some good books ...
5
votes
0answers
44 views

CSS performance with respect to inheritance

I am aware than ID rules are faster than class rules, which are faster than tag rules, which are faster than universal rules, as noted on MDN. My question pertains to CSS performance with respect to ...
0
votes
0answers
18 views

AS3 Collision Detection Kit dropping frame rate - Android

I started using the Collsion Detection Kit (AS3). When I test it on my pc, works fine.When I test it in my Android device, the game starts to lose frame rate as soon as the player touches the scenario ...
5
votes
4answers
145 views

Improve the performance for enumerating files and folders using .NET

I have a base directory that contains several thousand folders. Inside of these folders there can be between 1 and 20 subfolders that contains between 1 and 10 files. I'd like to delete all files ...
0
votes
1answer
32 views

How to speed up a function in R

I have the following instructions in R, which I'm using to change the values of variable data$theme according to the text inside data$paragraph, which contains long character strings: lines <- ...
0
votes
1answer
8 views

How are TPS and response times related?

Since TPS essentially measures speed and response time is the latency, I can say this: No. of transactions = TPS x Avg. response time In most of my test cases, these numbers tally, however in a ...
0
votes
0answers
40 views

Which T-SQL Skip Take Query Is Better?

Maybe someone with a little more DBA knowledge can shed some light on this for me. The basic premise: Get paginated data to improve page load performance (get records 1-10, 11-20, etc.) using an ...
6
votes
1answer
41 views

Multiple selector vs single selector performance

I've tried finding an answer, and I've found related question, and while they confirm my findings (that one multiple selector call is slower than multiple single selector calls) none of them tell me ...

1 2 3 4 5 2251
15 30 50 per page