Skip to content

Performance profiling results #29

@brnkhy

Description

@brnkhy

I was testing my own changes&performance and decided to share this as well.

2017-03-30_00-16-04

This frame took 981ms GetFeature takes 153 of that. Few things to note;

  • First of all, I thought we were using clipper for 16+ levels. It seems like it's working at 16 as well? Do we need it at 16- levels?
  • Yes it's mostly clipper but still there are bunch of easy improvements for slow days
  • Where & Select, or let's say linq in general, little slow and makes probably unnecessary allocations
  • List size changes are actually costly, I haven't checked this one but at my side, I started calculating the size and creating them with that size which saved me from all those array copying.
  • ToList is extremely slow. And it's even following a select statement (for tags). Is ConvertAll slower? (I couldn't re-test as profiler is actually quite slow in deep-profile mode)

I'll post if I can find anything else!

cc @BergWerkGIS

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