NetLogo / NetLogo/Profiler-Extension

Columns in `profiler` report messed up when long procedure names are used

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

E.g.:

BEGIN PROFILING DUMP
Sorted by Exclusive Time
Name                               Calls Incl T(ms) Excl T(ms) Excl/calls
CAN-REPRODUCE?                    140900    164.913    164.913      0.001
MOVE-BACTERIA                     141467    214.185    162.961      0.001
UPDATE-BACTERIA-COUNTS               500     79.462     79.462      0.159
REPRODUCE-BACTERIA-INTO-AVAILABLE-SPACE       500    220.384     55.471      0.111
GO                                   500    569.745     52.113      0.104
CHECK-BOUNCE-OF-WALLS             141467     51.224     51.224      0.000
DOSE-EACH-REGION                     500      2.027      1.611      0.003
UPDATE-TIME                          500      0.995      0.995      0.002
MOVE-ANTIBIOTICS                     500      0.579      0.579      0.001
AUTO-DOSE                            500      0.416      0.416      0.001

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the profiler report formatting entry point and reproduce the example with a procedure name longer than the current column. Inspect how the report lays out the Name and timing columns; done means long names no longer disrupt the column alignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.