For questions pertaining to the measurement or improvement of code efficiency.
0
votes
0answers
5 views
Code running slow with large Excel files opened
I Noticed that my code is running way slower when there are large Excel files opened (not the excel file that runs the code)compared to running the code with just that Excel file opened.
Does anyway ...
0
votes
2answers
33 views
Accessing instance variable or local var
Wanted to know the if it is better to access an instance variable Or store its value locally.
For example:
Method1:
while (ctr < arr.length ) {
sysout(arr[ctr++]);
}
vs
Method2:
int length ...
0
votes
0answers
13 views
Speed of json-rpc in C++
I'm using json-rpc-cpp library from cinemast
As a test I have written simple server which takes two integers and returns their sum to the client.
On a really small VPS (128 MB RAM) it was possible to ...
3
votes
2answers
91 views
How can I make this search faster in python?
I'm searching for a value from one file in the lines of another. The exact value will only occur once in the search file. How can I make this process faster? Here is my current code:
filltaxlist = ...
-1
votes
0answers
29 views
reduce floating point operations in matrix vector multiplication
I need matrix vector multiplication for large size of data. General floating point operations in matrix vector multiplication is n^2. I need to further reduce this count. I used fixed size block ...
0
votes
0answers
10 views
cassandra performance with very high number of columns per row
I am considering storing data with number of columns reaching between 100-250 million per row with max 2-3k rows in a column family.
I will be using composite columns to allow slicing the data and ...
0
votes
1answer
27 views
Android - More than 80 views - How to increase performance
My activity currently has more than 80 views and now I´m getting the error, that this is (obviously) bad for performance. So, what can I do to increase the performance?
Is it possible to only load ...
-1
votes
2answers
57 views
C++ Performance of loops: Variable initialization
A variable will be set to a value thousands of times. Would it be better performance-wise to check whether the variable has already been set to value like this:
int a = 0;
while (true) {
...
3
votes
1answer
38 views
Slow performance drawing dashed lines in HTML5 Canvas
I am attempting to make a Pong clone using HTML5 canvas. I want to draw a dashed line down the middle of the playing field as is found in the original Pong. I am doing this by extending the ...
3
votes
4answers
66 views
JavaScript: native forEach vs native forEach
I noticed that native forEach sometimes occurs to be too slowly even for small arrays. Look at this example:
var a = [], b = [];
a[1234567] = 'foo';
b[10] = 'bar';
a.forEach(function(arg1, arg2) ...
1
vote
0answers
19 views
NodeJS/V8/JavaScript on Linux: Upredictable ramp-up to full performance
Following is a stitch-up of the CPU consumption graphs over multiple runs of a simple script. I am intrigued by the variability of the CPU consumption graphs over short periods of time. Does anybody ...
0
votes
0answers
6 views
How to do profiling with QEMU?
I am developing an OS using qemu and gdb but I'm now facing some performance issues hence I would like to know which functions should be optimized.
So basically, my needs are mainly to know:
- In ...
-4
votes
2answers
62 views
How can I check my internet speed on python? [closed]
I'm trying to find out a way of finding out your internet connection download speed like on speedtest.net with Python.
-1
votes
0answers
15 views
Are there PCI cards that provide AES encryption hardware acceleration? [closed]
I know Intel has processors which have the AES-NI instruction set added, but are there pci cards with the same functionality (which can accelerate the use of the aes encryption algorithm)?
0
votes
0answers
19 views
How to improve memory in as3 using object reference work arround
Ok so first off this is not really a question as much as sharing code
that has made in my app some serious memory improvements since
I have not found anything regarding this particular method and ...