Questions tagged [profiling]
The profiling tag has no summary.
38 questions
1
vote
1
answer
884
views
How to integrate a profiler in the least invasive way possible?
I am currently using tracy to profile a program I am writing. Tracy as a tool seems quite awesome, but it has one issue.
You need to markup your code when profiling. This has the negative consequence ...
0
votes
1
answer
67
views
Anyone have data on impact on UX of shipping profiling build in production to users?
I understand that using the React Profiler in production should have a small or negligible impact on user experience at least for profiling 20-50 (guess) components on a page.
I would like to know if ...
-3
votes
1
answer
294
views
Java swing debugging [closed]
I have programmed a Java Swing application. I have some bugs in my program and I want to discover where in the code these errors occurs.
With normal code (Non-GUI related code) I apply debugging for ...
-2
votes
1
answer
179
views
How to profile a program for performance without a profiler?
This is a general question but with a specific use case. There is only a single and completely unaffordable profiler for the Xamarin framework. So this makes me wonder if there are some programming ...
8
votes
1
answer
701
views
How can I optimize a program's performance when no profiling tools are available?
I am currently working on an OpenGl program whose performance I would like to improve. The performance is okay but not ideal on powerful dedicated GPUs, but is abysmal on integrated graphics (< 10 ...
1
vote
2
answers
140
views
How to profile before optimising for readability
When optimising for speed, profiling first can help focus the effort on the parts of the code that bring most benefit. Since speed can be measured objectively, the benefit can also be measured ...
3
votes
2
answers
2k
views
How to benchmark software performance under same conditions (RAM, CPU caching etc)?
I am writing a software that splits big files into smaller files and I have coded several solutions.
I am measuring the execution time of each of my solutions. (with threads, go routines, MPI etc) ...
1
vote
2
answers
4k
views
WPF application architecture
I have written a WPF app which is now starting to suffer. There is no real way of adding new features to it in it's current state, it has become sluggish to use. This application started as a demo ...
1
vote
0
answers
121
views
When virtual scrolling/pagination meets incremental search
I am developing an AngularJS app, and the server side PHP, step by step, implementing features and then polishing them.
I currently periodically request data from the server, of the order of a few ...
0
votes
1
answer
139
views
How to profile my code using my own class that measure time?
So I working on a project and want to profile my code. I have been using KCachegrind to get general idea of what functions cost the most. But now I want to get the exact time spent on those particular ...
3
votes
0
answers
145
views
How to determine the reason why Firefox has poor performance on my web application?
I am developing a complex web application, which is working fine on Chrome and IE, but recently has developed huge performance issues on Firefox which lead us to block it's usage completely to avoid a ...
8
votes
2
answers
2k
views
Do I get valid profiling results with optimization turned off?
I use perf to profile my application. To make interpretation of the resulting call graph easier, I partitioned my core loops using label functions like maptable_appendRange that can be easily searched ...
2
votes
1
answer
3k
views
Does having so many macros (#define) increase compilation time due to prolonged pre-processing?
In a very simplistic way, I understand:
"Compilation" = "Pre-processing" + "Parsing" + "Linking" + "Executable"
All the macros and other such pre-processing directives are taken care at the "Pre-...
-10
votes
1
answer
3k
views
Java: Why's this For-Loop thousands of times slower?
So I have a simple method I'm calling millions of times a second, and I noticed that it was taking 16% of all processing time!!
The offensive routine is as follows:
public void placeHolder(){
...
1
vote
3
answers
324
views
Where do you put your profiling code?
I just developed an algorithm and additional to the usual unit tests I wrote a profiling "test" that I was using to measure and optimize its performance. It is structured similar to a test (arrange: ...