Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

fix: Node leak in refFindNode#2288

Merged
miroslavstastny merged 3 commits intomasterfrom
fix/ref-find-node-leak
Jan 30, 2020
Merged

fix: Node leak in refFindNode#2288
miroslavstastny merged 3 commits intomasterfrom
fix/ref-find-node-leak

Conversation

@miroslavstastny
Copy link
Member

Deletes prevNode when refFindNode is unmounted

@DustyTheBot
Copy link
Collaborator

DustyTheBot commented Jan 29, 2020

Perf comparison

Status Scenario Fluent TPI Fabric TPI Ratio Iterations Ticks
🔧 Avatar.Fluent 0.6 0.44 1.36:1 2000 1196
🔧 Button.Fluent 1.19 0.16 7.44:1 1000 1185
🔧 Checkbox.Fluent 1.35 0.29 4.66:1 1000 1346
🔧 Dialog.Fluent 0.34 0.16 2.13:1 5000 1714
🔧 Dropdown.Fluent 3.37 0.36 9.36:1 1000 3369
🔧 Icon.Fluent 0.24 0.03 8:1 5000 1219
🔧 Image.Fluent 0.1 0.08 1.25:1 5000 501
🔧 Slider.Fluent 1.89 0.34 5.56:1 1000 1887
🦄 Text.Fluent 0.05 0.19 0.26:1 5000 265
🦄 Tooltip.Fluent 0.45 18.93 0.02:1 5000 2247

🔧 Needs work     🎯 On target     🦄 Amazing

Generated by 🚫 dangerJS

Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add smth to changelog 👍

@miroslavstastny miroslavstastny merged commit 39aacdd into master Jan 30, 2020
@miroslavstastny miroslavstastny deleted the fix/ref-find-node-leak branch January 30, 2020 13:13
miroslavstastny added a commit that referenced this pull request Jan 30, 2020
* fix: Node leak in refFindNode

* changelog

(cherry picked from commit 39aacdd)
miroslavstastny added a commit that referenced this pull request Jan 31, 2020
* fix: Node leak in refFindNode

* changelog

(cherry picked from commit 39aacdd)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants