Skip to main content

Questions tagged [profiling]

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 ...
Makogan's user avatar
  • 261
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 ...
larrydalmeida's user avatar
-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 ...
jennifer ruurs's user avatar
-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 ...
Den's user avatar
  • 4,887
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 ...
john01dav's user avatar
  • 889
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 ...
trichoplax is on Codidact now's user avatar
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) ...
Kristi Jorgji's user avatar
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 ...
DrLazer's user avatar
  • 143
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 ...
Mawg's user avatar
  • 4,308
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 ...
solti's user avatar
  • 379
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 ...
Bruno Finger's user avatar
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 ...
Johannes Luong's user avatar
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-...
iammilind's user avatar
  • 2,232
-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(){ ...
thebest108's user avatar
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: ...
Roman Reiner's user avatar
  • 1,076

15 30 50 per page