ember-resolver icon indicating copy to clipboard operation
ember-resolver copied to clipboard

feat: adds the strict resolver as an option

Open gabrielcsapo opened this issue 3 years ago • 0 comments

Summary

Originally from https://github.com/stefanpenner/ember-strict-resolver we have been using this in production for a few years! It is faster and less prone to errors as it doesn't allow configuration.

It would be great to support this as a first class resolver.

Details

When debugging how often we call into the resolver to access values from the registry, on an initial page load of linkedin feed we access the registry ~11,800 times.

When running linked.com feed using the ember-strict resolver we see in the experiment over ~300ms faster The differences are:

boot phase estimated difference -188ms [-195ms to -181ms] transition phase estimated difference -42ms [-57ms to -27ms] render phase estimated difference -23ms [-37ms to -9ms]

5fHNH_thW0KtzX6AR8t5hwkAOoyIOUzfOJxJO9OiOXpJBFDSwGFQg0R65TWVmmrG1KBzJARzn8u6f4WdXAIG12IkV0nKy5PyXEzEHrvyL22UXA6W5W3NZOYPKlb1R9B76Ve7ekFYu2_GVGvN-SS_gr0GNjSC5IfpOALIgShqw2K27qKsCrNseU0LmM_y

Shoutout to @stefanpenner for making this library and making it all possible!

gabrielcsapo avatar Dec 19 '22 16:12 gabrielcsapo