For questions pertaining to the measurement or improvement of code efficiency.
3
votes
1answer
25 views
High CPU usage on SQL server - Slow queries
Our MS SQL Server is using about 95% of the CPU-power.
After a server (hardware) restart, or a SQL-Service restart, the usage is 0% and slowly increases over the course of 1-3 days. Depending on how ...
3
votes
1answer
36 views
K-Difference between 2 numbers
Given N sorted numbers, we need to find, if there exists a pair, with diffrence K.
A O(N log N) solution is to check for every number x , check if (x + K) exists using binary search.
I was wondering ...
2
votes
0answers
44 views
Efficient python way for recursive equations
I am trying to optimize a Loop that I have in a piece of my code. I thought that writing it in a more numpy way would make it faster, but is slower now!
the equations takes as input a numpy.array vec ...
0
votes
2answers
29 views
_.isFunction(a) vs. typeof a === 'function'? javascript
I think it might be only performance case - http://jsperf.com/comparing-underscore-js-isfunction-with-typeof-function/2
And seems that typeof is faster.. so my question is - which is more appropriate ...
0
votes
1answer
37 views
Is it intelligent to redline the CPU through Task.Run
I know its bad for the Performance of my application to create too many threads (threadstarvation) but I'm not sure how this translates to the Async/Await functionalities. I understand Task.Run() uses ...
0
votes
0answers
5 views
How can I get maximum performance of WebBrowser control without renaming the executable to iexplore.exe?
I'm writing a native application that that does a lot of CSS3 animations in an embedded WebBrowser control, but the animations are much more fluid in the standalone IE10. I've read an article that ...
0
votes
0answers
9 views
Numerical Integration; CUDA development
I need advice on how to proceed and utilize the compute power of CUDA device for numerical integration of a function. Some information about my device is below (irrelevant)
Hardware
Geforce GTX470; ...
0
votes
0answers
13 views
Optimize DOM game performance
I am working on a game developed on DOM using Crafty JS framework, and Greensock GSAP JS (http://www.greensock.com/gsap-js/) for animations. It is my first time working with these technologies.
I am ...
6
votes
1answer
62 views
Poor C# optimizer performance?
I've just written a small example checking, how C#'s optimizer behaves in case of indexers. The example is simple - I just wrap an array in a class and try to fill its values: once directly and once ...
0
votes
0answers
18 views
Java Profiling in Continuous Integration
Are there any Java profiling tools that integrate with CI servers like Jenkins?
I've no idea if such things exist, but what would be splendid would be some kind of test framework that yielded results ...
0
votes
1answer
36 views
Make python use more resources in calculations
Hi I'm trying to do some matrix calculations using python. The problem is there seems to be a limit of how much CPU will the process consume (about 13% of my Core i7).
Is there a way I can make it ...
0
votes
0answers
30 views
Oracle primary key vs. index NOT IN performance
I have the following use case:
A table stores the changed as well as the original data from a person. My query is designed to get only one row for each person: The changed data if there is some, else ...
1
vote
1answer
23 views
Issue realtime frame manipulation
I developed a c# application that takes in input the streamRGB (640x480 rate:30fps) generated by Kinect device. After each frame is received I save it on disk as file.wmv.
The problem starts when I ...
0
votes
0answers
8 views
how to over come the stop script error in the browser when rendering large chart data using dojo
I'm developing an application which involves complex charts. When trying to render large amount of data in the chart the browser became unresponsive and show the alert stating the stop script error. ...
1
vote
0answers
90 views
how do i fix java.lang.OutOfMemoryError
I go to run my program and it works fine up untill i hit the enter button then it stops for about 2-3mins then crashes i know it has somthing to do with the arraylist but how do i fix it?
Here is the ...