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 6147001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:02:27+00:00 2026-05-23T19:02:27+00:00

This might seem like a silly question, but after asking some questions on stackoverflow

  • 0

This might seem like a silly question, but after asking some questions on stackoverflow and looking at other people’s question, one thing that comes often is to use profilers to see which part of the code runs slow, etc.

Being a programming beginner, I’m new to all of this, but since I’m creating bigger and bigger project, I feel like such a tool would prove to be very useful at times. The only thing is, I don’t know how to use them.

Usually, I use JDeveloper to code in Java, and I read on the internet that there’s one built-in. I tried using it but I guess I didn’t really know how because I couldn’t find which parts where making my program slower. I don’t know if it’s because I don’t know how to use it or if it’s known for not being good, so I figured I’d ask here to see with which one I should start.

I have Eclipse installed as well and know how to use it (I use Eclipse when I’m coding some Python or when I’m trying tutorials for Android-development), so if there’s a free profiler I could use for either of those two IDEs, I’d really like knowing about it. Also, a tutorial or basic things I need to know about profilers would help me a lot.

Thanks in advance and sorry that my question isn’t really about programming, but this seems like the best place to get valuable information about profilers.

  • 1 1 Answer
  • 1 View
  • 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-05-23T19:02:28+00:00Added an answer on May 23, 2026 at 7:02 pm

    If you’re confused, so are most of the profiler vendors.

    The first thing to understand is – programs aren’t slow because they have slow parts (bottlenecks).
    They are slow because they do more than they have to. They have time drains.

    It’s like a horse race.
    A bottleneck would be a narrow place in the track, where the horses have to pile up and slow down.
    A time drain would be like another track fused with the first, into which horses wander and have to travel an extra distance.
    Then there could be another track fused with that one, and another, and so on.

    A function call that could be avoided is an example of a time drain.

    Here’s how I find time drains. It’s simple and language-independent.
    You can even do it with a simple tool like jStack.

    Profiler makers mean well, but they are hampered by a bunch of confusing concepts.

    Such as “where the time is spent”. If what this means is “where the program counter is found most often”, that’s like the horse being in the wrong racetrack.
    You could try to shorten that racetrack, but the real problem is the horse shouldn’t even be there. i.e. there’s a function call that should have been avoided.

    Such as “statistical accuracy of measurement”. Do you need to measure how long the horse takes to get around the wrong racetrack to know it’s on the wrong racetrack?
    No, you just need to take a snapshot (stack sample).
    The longer it’s on the wrong racetrack, the more likely you’ll see it.
    If you see it there twice, you know what the problem is.

    Such as calling it a “CPU Profiler”, that being an excuse to ignore I/O time.
    Sometimes the time drain is needless I/O you were not aware of.
    That would be like the horse stopping to munch on a bag of oats.
    If you can only take your snapshot while the horse is running, you would never notice.
    You would only notice that the time was suspiciously long.

    There’s more where those came from …

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

Sidebar

Related Questions

This might seem like a silly question, but I downloaded the Reactive Extensions for
This might seem like a stupid question I admit. But I'm in a small
Ok sorry this might seem like a dumb question but I cannot figure this
Okay, the question might seem dumb, but I'm asking it anyways. After struggling for
This might seem like a dump question, but my complete ignorance with VbScript is
This might seem like a trivial question, but I'm a bit muddled in my
this might sound like a daft question but I can't seem to find a
This might seem like a CS101 question, but I've managed to thoroughly confuse myself.
This might seem like a simple question but Id like to know the fastest
This might seem like a strange question, but can I actually shut down the

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.