Can profiling be used to verify if optimization was successful?


ZsA
25/12/2015 9:47 am
HOME ยป Programming Languages

I know that profiling is useful to identify bottlenecks and determining what parts of the code require how much time to execute. The latter isn't always very easy to track in the midst of other paths being executed, so once I decide what I want to optimize it might be problematic to see the improvement in numbers. This is especially true in desktop apps which run constantly and it is difficult to: execute the same path and execute it the same number of times to have reliable comparison.

It won't help me if before optimization the function ran X times and took 500 milliseconds, and after optimization it run Y times and took 400 milliseconds.

In such cases, can I somehow use a profiler to determine improvement or do I have to resolve to other options?


Related to : Can profiling be used to verify if optimization was successful?
Can profiling be used to verify if optimization was successful?
25/12/2015 9:47 am by ZsA in Programming Languages

I know that profiling is useful to identify bottlenecks and determining what parts of the code require how much time to execute. The latter isn't always very easy to track in the midst of other paths being executed, so once I decide what I want to optimize it might be problematic to see the impro


C++ profiling and optimization
by golazo in Programming Languages

I have some issues with performance of my application. I found this answer on Stackoverflow:
http://stackoverflow.com/a/378024/5363


which I like. One bit I don't really understand is what is the relation between code optimization and profiling. Because obviously one wants to prof


Verify a successful download, possible?
by tl1000sv in Programming Languages
Does anyone have a clue how to approach the following or have links to a resource that covers this?
Situation: To offer music file downloads, (probably mp3 format, 192 bitrate)
Problem: How can I verify that the download was successful, in that it transferred
the total sum of byt
Resolved Verify a successful query
by Cadu in Programming Languages
Is there any way I can do a check if a query was successful with updating, with no errors?
People donate money, and receive coupons to use on items, I want to keep a log of purchases so that people cant say "I never received my items".
I know how to create the logging system.
TAGS: Resolved Verify successful query
How to Create Successful Search Engine Optimization Articles
by Brazen in Programming Languages
Amid the plentiful amount of web pages that are continuously increasing a particular type of writing for the web, referred to as search engine optimization, has come into existence. When the techniques of search engine optimization are skillfully incorporated into an article that is developed for so
Use xmppframeWork frame send sasl validation is not successful, the user send other request at this time, to verify the server failure
by vik in Programming Languages

When I started in application, to create connections, this time between the interface has been opened, the user can operate other request, and if the server validation is not completed, the user to send request, the server receives the user to send the request, the server will think that is not c


[ubuntu] ubuntu 8.04 - k3b burn successful, verify fails
by bjorngylling in Programming Languages
There has been a problem with K3b doing a verify and the verify fails. When you manually check the validity of the burn, it is ok. So burn ok, verify fails.
This problem appeared in 8.04. 7.10 works as expected.
Problem seen with burning iso's. Assume same will happen with regular pro
Java Profiling, Performance Tuning and Memory Profiling exercises
by Kagee in Programming Languages

I am about to conduct a workshop profiling, performance tuning, memory profiling, memory leak detection etc. of java applications using JProfiler and Eclipse Tptp.
I need a set of exercises that I could offer to participants where they can:
Use the tool to to profile the discover the p


Remote Profiling with D7 (NOT memory profiling, but timing…)
by jbcrail in Programming Languages

We have one machine in-house that is 20 times slower starting our Delphi 7 app than any other machine.


We would like to get a performance profile (not memory profile) to locate where it's spending its time.


AQTime, which we own, we've discovered doesn't do remote profiling


Node.js verify function does not verify signature when openssl command line does
by ti22 in Programming Languages

I am trying to use the Node.js crypto module to verify a signature for some data. I am using Node.js 0.8.0.


The data in a file has been hashed using the MD5 algorithm and signed using a private RSA key, and the signature saved to a separate file. This has all been done using Java li


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .