Skip to content

Smalltalk importer scalability #240

Description

@seandenigris

Originally reported on Google Code with ID 240

I'm trying to assess bottlenecks in the Moose importer. I think there are some hidden
scalability 
issues especially in the InstallElementsOperator and the CandidateListOperator.

InstallElementsOperator >>basicRun
    model entityStorage forSetup.
    self container
        do:
            [:each |
            model add: each.
            self increment].
    model entityStorage forRuntime  <------- here: converting to a runtime storage takes
a 
long time


CandidateListOperator >>setUp

    "dont call 'model allMethods' here because it sorts the group and we dont care at
this level"
    groups := ((model allWithType: FAMIXMethod) reject: #isAbstract) groupedBy: #signature
 <-
---- groupedBy: create a dictionary with all method signatures, I suspect it becomes
inefficient 
on large models

It would be great to enhance the performance of these methods, or at least to make
them UI-
enable to that they can give feedback in a progress bar

Reported by simon.denier on 2009-12-01 17:27:11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions