question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

avoidable funnels + merges

See original GitHub issue

https://github.com/ember-engines/ember-engines/blob/8f66b5e3b8089cd53884be49f270cac05f9a3d17/lib/engine-addon.js#L319

is often truthy, when it really isn’t needed as maybeMergeTrees via ember-cli/broccoli/merge-trees will return EMPTY_MERGE_TREES. In this location this internal construct leaks out, and results an un-needed funnel.

This optimization “EMPTY_MERGE_TREES” should likely be made to not leak as it does, but likely a short-term fix is to make maybeMergeTrees aware of it, so that downstream code can be made aware.

  • fix
  • see impact (should often-times remove 1 funnel and 1 merge per engine)
  • @rwjblue thoughts?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rwjbluecommented, Dec 5, 2017

Ya, confirm I had thought we were using broccoli-merge-tree directly. I completely forgot that we used ember-cli’s internal / private one…

0reactions
stefanpennercommented, Dec 5, 2017

Skimming it looks like quite abit of avoidable work happens in engine builds when they encounter these empty trees. This is likely a good source of perf if addressed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cypher Sleuthing: the eager operator | by Jennifer Reif - Medium
Each one of these funnels is for each of our merge operations. The first merge is creating those 5 nodes (1 for each...
Read more >
4 Key Areas of Value-Based Care Transformation
To solve healthcare's spending problem, value-based care transformation is necessary; contracting, physician compensation, digital medicine, ...
Read more >
What is a Conversion Funnel? The Guide to Every Stage
A conversion funnel describes the process visitors go through to become customers. It helps marketers analyze their efforts, ...
Read more >
99.2 - SEC.gov
... referrals as fair or poor Preventative health services used at ~55% of the recommended rate 18 million avoidable visits to US emergency ......
Read more >
Nursing home-sensitive conditions: analysis of routine health ...
Keywords: geriatrics, health services research, potentially avoidable ... To recruit the experts, we used the Delphi funnel, a panel management model, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found