Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

[BUG] TcoInspector.normalizeRetries() #535

Description

@KrisztianOlah

Describe the bug
NormalizeRetries when called on 6 inspectors causes the TC compiler to take ages to compile, however, calling them on 4 or less inspectors don't seem to make much of an impact on the compile time.
This behaviour makes use unfeasible during the development phase or at all if updates are likely. It is of particular concern if multiple instances of such evaluators are required. Can be avoided by splitting inspections into separate evaluators, but then normalization might not take place correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Set up an evaluator with 6 different inspectors
  2. Compile and time with stopwatch

Expected behavior
A slight increase in compile time, particularly when most objects are already compiled.

Screenshots
image

Desktop:

  • OS: Win 11 Pro 21H2 22000.1098
  • Microsoft Visual Studio Professional 2019 Version 16.11.17
  • TwinCAT3 4024.22

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingknown-issuequestionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions