I've added ICQ# library (it's open source) to my application. But if I connect to ICQ server though it, it will increase usage of CPU (up to 30%). So something in ICQ# library is using CPU so much. But I don't know how to determinate what is it and reduce the usage of CPU.
Determining source of high processor usage
145 views Asked by sczdavos At
3
There are 3 answers
0
jalf
On
The very simplest approach is this:
- Run your program in the debugger.
- And break into the debugger at some point.
- Look at the call stack wherever you are
- repeat steps 2-3
Doing this just two or three times gives you a very good idea of where most of your execution time is being spent. If most of the execution time is spent in one function, then that function will be on the call stack nearly every time you break into the debugger.
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in WINFORMS
- Musical chairs: How can an asynchronous task cancel a synchronous one in c#?
- TCP Client Losing Connection When Writing Data
- how check if printing content on new page
- Find what is writing to the Output window
- WinForms, event unable to subscribe from a custom class
- A cleaner way to approach the given output
- Working with panel and moving from the second form to the the panel
- Accurately placing multiple controls in a row programmatically with dynamic table layout panel
- How to find winform application in visual studio 2022?
- How to stop comments being included in C# release build .exe
- Why is the Blazor value not immediately being rendered after changing it?
- .NET 6 Winforms separate forms control pop up freezing when unfocused and using native Windows file transfer pop up
- How to Fix C# WinForms Application Not Loading correctly on Windows 11?
- Visual Studio edit view corrupt for xaml and Winforms design views
- How to solve the problem that dragged column in datagridview too slow or miss when AllowUserToOrderColumns = true
Related Questions in .NET-3.5
- Getting exception for getting instance of Worksheetpart using OpenXML
- Changing .NET runtime at runtime
- Compiling DLL project that written in .NET Framework 3.5 on Visual Studio for Macos giving MSB3086 error
- Detect disabled or unpowered Devices using WIA
- C# how to acquire OAuth2 Token using WebClient
- Find and Load microsoft.net compact framework 3.5
- NET Framework 4.0 breaks Com Interop - vb6 calling c# dll failing when changing target framework from 3.5 to 4.0 or higher
- 0x80070490 Error when installing .Net 3.5 Framework and .net 2.0 within that
- Why is virtual memory usage is so different between .NET Framework and .NET Core
- Which method is more reliable in determining whether I can install .NET 3.5 Windows features?
- null file when posting with WebRequest
- How to change and return value from within a function
- Excel VBA Object Not Released as Expected When Using .NET 3.5 Hashtable
- Excel VBA - Getting Automation Error (430) Using StringBuilder Class from .NET 3.5
- How can I resolve conflicts between System.threading.Tasks and Net35.Threading.Tasks?
Related Questions in CPU-USAGE
- Will a processor with such a defect work?
- Azkaban Executor Java Process CPU usage very high, The "top" command shows high sys usage
- Error Using Valgrind's callgrind and kcachegrind on a C++
- Having issue with CPU boosting on AMD
- Databricks SQL Query Never Executes (15+ hour runtime)
- Python script becomes unresponsive at 100% CPU usage (single core)
- CPU usage reported in /proc/stat is inconsistent (wrong number of cpu ticks)
- measuring CPU utilization objectively under load
- using while in swift for checking condition makes iOS phone over heated
- Too much CPU usage of MediaProjection leaving less for OCR?
- Returning a Value from a .bat File to CFEXECUTE
- how to check cpu utilization of pods in aws using prometheus metrics
- pyserial - CPU usage when servicing 2 queues
- How to limit cpu and memory usage of the whole desktop?
- CPU utilization sometimes reaches 100% and sometimes gives different results when i perform execution same testes with JMeter
Related Questions in ICQ
- ICQ Group Member Export
- how edit make file when have icqdesktop error (make: *** [all] Error 2) Ubuntu 18.04 64bit
- How to generate hmac sign in python 3 (icq auth)?
- WeChat and QQ Profile URLs
- Send icq message via php
- ICQ chat bot problems with encodings
- XMPP transport to ICQ
- JOscarLib - how to use?
- How can i integrate to get and send messages of skype and icq in my android app
- Determining source of high processor usage
- how to add a buddy to buddy list in twisted.words oscar (icq)
- ICQ encoding of Special Characters
- Apple iMessage - ForceICQPlainText
- What should I use to use ICQ with Python?
- I need an Java API for develop ICQ and Yahoo Client
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If it's open source and you've added the code to your project; run it with a profiler attached.