Skip to content

Performance compared to MEF 2 #152

@BalintPogatsa

Description

@BalintPogatsa

There is a comparison library for several IoC implementations. Comparing VS MEF to MEF 2 shows that VS MEF is only better in startup performance, but significantly slower in other benchmarks:
https://github.com/danielpalme/IocPerformance

Compared versions (this is the nuget package version - the screenshot displays the assembly version):

  • VS MEF: 16.1.8
  • MEF2: 1.2.0

Do you think it is still justifiable in some cases to use VS MEF over MEF 2? Or could be there a conceptual problem why these benchmark values are worse? Do you maybe have other benchmarks that shows a different picture?

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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