Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8143129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:01:08+00:00 2026-06-06T13:01:08+00:00

Well, I understand what kind of tool I could use for optimization, profiling etc…

  • 0

Well, I understand what kind of tool I could use for optimization, profiling etc… so now I know all my bottle necks. But I can’t optimize them infinitely. What I mean ? For example, I have spot A as my main bottle neck, i applied optimization and after that CPU time, memory time etc become smaller, but related to whole project it is still bottle neck. I mean that everytime in any project there is bottle neck, so where is final point when I should stop my optimization ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:01:09+00:00Added an answer on June 6, 2026 at 1:01 pm

    Suppose you find a “bottleneck” that, when you fix it, saves 30% of the time.
    e.g. the time goes from 10s down to 7s.

    Then suppose you find another one that, when you fix it, saves 30% of the 7s, or 2.1s.
    That brings the time down to 4.9s.

    Notice a couple things.

    • The second problem was only 21% of the original 10s, so originally it was a less-big problem, but after fixing the first problem the second one got bigger, as a percent.

    • Look at it as a speedup ratio. Fixing the first problem gave you a speedup ratio of 10/7 or 1.43x. Fixing the second one gave you a ratio of 7/4.9 or 1.43x. The total speedup ratio was 10/7 times 7/4.9, which equals 10/4.9 or 2.04x. You have more than doubled the program’s speed.

    • Those two problems took 30% and 21% of the original 10s. If there were two more, taking 14.7% and 10.3%, they would be looking pretty small in a profile. But if you fix all four of them, you quadruple the program’s speed! If you miss any one of them, you don’t.

    That’s how it goes. Until you truly hit rock-bottom, you can always make the program faster, and problems which might at first seem insignificant later become worthwhile.
    The final speedup ratio you get can surprise you.

    Not all profilers find all problems.
    If one of the problems is one that your profiler will not find,
    you will get to a point where you think you have optimized as far as possible, but you have not.

    If you want to progress beyond that point, you need a profiling technique that will find every problem.
    Here’s how I do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to salesforce and apex as well. trying to use to understand
Answer: I know this is not the kind of thing that goes well as
I'm having a hard time to understand how I could use binomial and normal
So if I understand well, Garbage collection automatically deallocates objects that are not used
The question and description has been edited to make the user understand well what
I understand very well the need for websites' front ends to be coded and
I don't understand very well this code: var img = $('<img/>', {class: photo, src:
I understand PCRE pretty well, but MySQL's regular expression flavor seems to get the
I understand the JS .sort() function well enough, and I have a loose grasp
Well I am trying to learn the java MVC pattern, but I can't understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.