Skip to content

Performance difference between v1.8.3 and v1.9.1 #149

@SteveWilkes

Description

@SteveWilkes

Hi,

I've got an ongoing mapper performance project, and it looks like something happened to ExpressMapper between versions 1.8.3 and 1.9.1 which made it much slower mapping non-simple mappings, possibly collections. The two tests in question are:

  • Complex mapping - deep cloning a Foo POCO with various kinds of value type properties, multiply-recursive Foo, List and Foo[] properties, and IEnumerable and int[] properties. For 1 million mappings, this has gone from 14.15s to 103.57s

  • Deep mapping - mapping a POCO with nested POCO and POCO collection properties onto a differently-typed POCO with corresponding properties. For 1 million mappings, this has gone from 6.25s to 94.19s

I'm intending to write a follow-up blog with updated performance results, so wanted to give you a heads up about this before I do.

All the best,

Steve Wilkes

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