Nits in the profiler

Version: SWI-Prolog version 10.1.1 for x86_64-linux

  1. The docs say “The predicates have a menu that allows changing the view of the detail window to the given caller or callee, showing the documentation (if it is a built-in) and/or jumping to the source.”, I can’t find it?
  2. In the Predicate column, the values have an overline which looks very odd. In the online docs it’s an underline, but I don’t think either is necessary as the fact they are links is made obvious by the colour, the under/overlines are just visual clutter.
  3. There are “Cluster” sections that I can’t find an explanation in the docs for?

Did you right-click on the predicate?

Oops. Changes to the underlining code caused a bug :frowning: Fixed. Note sure it is clutter. It indicates it can be clicked.

The profiler creates a dynamic call graph. If a predicate appears in multiple places in this graph these are considered different clusters. I’m afraid that the exact rules are only in the source :frowning:

1 Like

Doh! Thanks :slight_smile:

Well, blue for links is kinda common. No big deal, just an observation.

Just that info is enough - thanks.

Another nit, in the leftmost column and when Time → Percentage is selected, if the percentage is > 10%, the % sign is chopped off.

Screenshot_2026-01-19_15-50-48