Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(engine): fixes #973 to support cloneNode with ie11 devtool comment #974

Merged
merged 5 commits into from
Jan 17, 2019

Conversation

caridy
Copy link
Collaborator

@caridy caridy commented Jan 16, 2019

Details

  • fix the childNodes accessor to only add the comment for devtool when accessed from outside the framework, this is because in synthetic shadow we access the childNodes member property for many internal procedures, and that was including the comment, which was not expected, including the clone operation.

image

image

Does this PR introduce a breaking change?

  • No

@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 6eb7eda | Target commit: 38be471

lwc-engine-benchmark

table-append-1k metric base(6eb7eda) target(38be471) trend
benchmark-table/append/1k duration 155.60 (±5.65 ms) 153.10 (±6.25 ms) -2.5ms (1.6%) 👌
table-clear-1k metric base(6eb7eda) target(38be471) trend
benchmark-table/clear/1k duration 6.25 (±0.40 ms) 6.60 (±0.45 ms) +0.3ms (5.6%) 👌
table-create-10k metric base(6eb7eda) target(38be471) trend
benchmark-table/create/10k duration 931.65 (±5.60 ms) 914.60 (±6.40 ms) -17.1ms (1.8%) 👍
table-create-1k metric base(6eb7eda) target(38be471) trend
benchmark-table/create/1k duration 120.80 (±3.05 ms) 120.05 (±2.95 ms) -0.8ms (0.6%) 👌
table-update-10th-1k metric base(6eb7eda) target(38be471) trend
benchmark-table/update-10th/1k duration 77.15 (±3.00 ms) 80.70 (±5.80 ms) +3.5ms (4.6%) 👌
tablecmp-append-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-component/append/1k duration 257.45 (±8.40 ms) 257.00 (±7.20 ms) -0.5ms (0.2%) 👌
tablecmp-clear-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-component/clear/1k duration 12.35 (±1.55 ms) 11.80 (±1.90 ms) -0.6ms (4.5%) 👌
tablecmp-create-10k metric base(6eb7eda) target(38be471) trend
benchmark-table-component/create/10k duration 1781.45 (±18.20 ms) 1777.20 (±16.20 ms) -4.3ms (0.2%) 👌
tablecmp-create-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-component/create/1k duration 214.60 (±4.70 ms) 217.20 (±5.05 ms) +2.6ms (1.2%) 👎
tablecmp-update-10th-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-component/update-10th/1k duration 72.40 (±5.05 ms) 73.35 (±5.65 ms) +0.9ms (1.3%) 👌
wc-append-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-wc/append/1k duration 261.80 (±5.55 ms) 265.25 (±6.50 ms) +3.4ms (1.3%) 👌
wc-clear-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-wc/clear/1k duration 23.10 (±2.30 ms) 23.40 (±2.05 ms) +0.3ms (1.3%) 👌
wc-create-10k metric base(6eb7eda) target(38be471) trend
benchmark-table-wc/create/10k duration 2011.55 (±10.45 ms) 1997.35 (±11.90 ms) -14.2ms (0.7%) 👍
wc-create-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-wc/create/1k duration 229.15 (±5.10 ms) 228.00 (±5.35 ms) -1.1ms (0.5%) 👌
wc-update-10th-1k metric base(6eb7eda) target(38be471) trend
benchmark-table-wc/update-10th/1k duration 73.20 (±4.50 ms) 75.25 (±5.45 ms) +2.0ms (2.8%) 👌

@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 6eb7eda | Target commit: adf2c80

lwc-engine-benchmark

table-append-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table/append/1k duration 155.60 (±5.65 ms) 154.75 (±5.20 ms) -0.8ms (0.5%) 👌
table-clear-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table/clear/1k duration 6.25 (±0.40 ms) 6.30 (±0.40 ms) +0.0ms (0.8%) 👌
table-create-10k metric base(6eb7eda) target(adf2c80) trend
benchmark-table/create/10k duration 931.65 (±5.60 ms) 905.50 (±7.70 ms) -26.2ms (2.8%) 👍
table-create-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table/create/1k duration 120.80 (±3.05 ms) 121.65 (±3.00 ms) +0.8ms (0.7%) 👌
table-update-10th-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table/update-10th/1k duration 77.15 (±3.00 ms) 84.90 (±5.25 ms) +7.8ms (10.0%) 👎
tablecmp-append-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-component/append/1k duration 257.45 (±8.40 ms) 252.45 (±5.60 ms) -5.0ms (1.9%) 👍
tablecmp-clear-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-component/clear/1k duration 12.35 (±1.55 ms) 11.55 (±1.45 ms) -0.8ms (6.5%) 👌
tablecmp-create-10k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-component/create/10k duration 1781.45 (±18.20 ms) 1777.80 (±15.40 ms) -3.6ms (0.2%) 👌
tablecmp-create-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-component/create/1k duration 214.60 (±4.70 ms) 209.75 (±5.50 ms) -4.8ms (2.3%) 👌
tablecmp-update-10th-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-component/update-10th/1k duration 72.40 (±5.05 ms) 69.30 (±3.95 ms) -3.1ms (4.3%) 👍
wc-append-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-wc/append/1k duration 261.80 (±5.55 ms) 255.65 (±5.75 ms) -6.2ms (2.3%) 👍
wc-clear-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-wc/clear/1k duration 23.10 (±2.30 ms) 21.90 (±2.10 ms) -1.2ms (5.2%) 👌
wc-create-10k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-wc/create/10k duration 2011.55 (±10.45 ms) 1979.95 (±11.40 ms) -31.6ms (1.6%) 👍
wc-create-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-wc/create/1k duration 229.15 (±5.10 ms) 223.55 (±4.85 ms) -5.6ms (2.4%) 👍
wc-update-10th-1k metric base(6eb7eda) target(adf2c80) trend
benchmark-table-wc/update-10th/1k duration 73.20 (±4.50 ms) 70.35 (±5.30 ms) -2.9ms (3.9%) 👌

while (!isNull(ownerNode)) {
if (!isUndefined(ownerNode[OwnerKey])) {
return ownerNode[OwnerKey];
} else if (!isUndefined(ownerNode[OwnKey])) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this was causing that for accessing stuff off the root element, it has to traverse all the way to the top (document) to find that that it doesn't have an owner.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

additionally, for some reason, IE11 was complaining about this being part of the while statement, so moving it into here makes sense.

Copy link
Contributor

Choose a reason for hiding this comment

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

We are inferring that the node is a host element by checking for a key. Can you make it an util like isHostElement() so that the intention is clear and the check can be reused.

export function isExternalChildNodeAccessorFlagOn(): boolean {
return !setInternalChildNodeAccessorFlag;
}
export const getInternalChildNodes = (process.env.NODE_ENV !== 'production' && isFalse(hasNativeSymbolsSupport)) ?
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

whenever we use childNodes inside farmework code, we need to go thru this method, otherwise we might get the comment for devtool in IE11

}
return childNodes;
} : function getExternalChildNodes(node: Node): NodeListOf<ChildNode> {
return node.childNodes;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

in other modes, non-ie11, no devmode, we do nothing but getting the childNodes off the node.

// At this point, node is a valid node with owner identity, now we need to find the owner node
// search for a custom element with a VM that owns the first element with owner identity attached to it
while (!isNull(node) && (getNodeKey(node) !== ownerKey)) {
node = parentNodeGetter.call(node);
while (!isNull(nodeOwner) && (getNodeKey(nodeOwner) !== ownerKey)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just fixing types... nothing else.

if (elmOwnerKey === hostKey) {
// we have reached a host's node element, and only if
// that element is an slot, then the node is considered slotted
return isSlotElement(currentElement);
} else if (parent !== host && getNodeNearestOwnerKey(parent) !== elmOwnerKey) {
} else if (!isNull(parent) && parent !== host && getNodeNearestOwnerKey(parent) !== elmOwnerKey) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

guarding against checking for elements being slotted for manually inserted nodes. this could cause issues, but I don't have a concrete example for a test for this guarding, but the type system was definitely complaining about it.

@caridy caridy requested a review from ekashida January 17, 2019 00:50
@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 6eb7eda | Target commit: 8e766a2

lwc-engine-benchmark

table-append-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/append/1k duration 155.60 (±5.65 ms) 149.40 (±5.50 ms) -6.2ms (4.0%) 👍
table-clear-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/clear/1k duration 6.25 (±0.40 ms) 6.20 (±0.30 ms) -0.0ms (0.8%) 👌
table-create-10k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/create/10k duration 931.65 (±5.60 ms) 918.60 (±5.35 ms) -13.1ms (1.4%) 👍
table-create-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/create/1k duration 120.80 (±3.05 ms) 120.80 (±3.25 ms) -0.0ms (0.0%) 👌
table-update-10th-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/update-10th/1k duration 77.15 (±3.00 ms) 76.55 (±3.55 ms) -0.6ms (0.8%) 👌
tablecmp-append-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/append/1k duration 257.45 (±8.40 ms) 222.50 (±16.00 ms) -35.0ms (13.6%) 👍
tablecmp-clear-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/clear/1k duration 12.35 (±1.55 ms) 12.80 (±1.55 ms) +0.4ms (3.6%) 👌
tablecmp-create-10k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/create/10k duration 1781.45 (±18.20 ms) 1742.35 (±12.30 ms) -39.1ms (2.2%) 👍
tablecmp-create-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/create/1k duration 214.60 (±4.70 ms) 215.05 (±6.20 ms) +0.5ms (0.2%) 👌
tablecmp-update-10th-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/update-10th/1k duration 72.40 (±5.05 ms) 70.75 (±6.00 ms) -1.7ms (2.3%) 👍
wc-append-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/append/1k duration 261.80 (±5.55 ms) 262.45 (±5.50 ms) +0.6ms (0.2%) 👌
wc-clear-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/clear/1k duration 23.10 (±2.30 ms) 22.35 (±2.15 ms) -0.8ms (3.2%) 👌
wc-create-10k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/create/10k duration 2011.55 (±10.45 ms) 1997.35 (±10.30 ms) -14.2ms (0.7%) 👍
wc-create-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/create/1k duration 229.15 (±5.10 ms) 223.10 (±5.00 ms) -6.0ms (2.6%) 👍
wc-update-10th-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/update-10th/1k duration 73.20 (±4.50 ms) 72.15 (±5.25 ms) -1.0ms (1.4%) 👌

@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 6eb7eda | Target commit: 8e766a2

lwc-engine-benchmark

table-append-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/append/1k duration 155.60 (±5.65 ms) 149.00 (±5.10 ms) -6.6ms (4.2%) 👍
table-clear-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/clear/1k duration 6.25 (±0.40 ms) 5.90 (±0.30 ms) -0.3ms (5.6%) 👍
table-create-10k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/create/10k duration 931.65 (±5.60 ms) 931.10 (±5.85 ms) -0.6ms (0.1%) 👌
table-create-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/create/1k duration 120.80 (±3.05 ms) 119.50 (±1.30 ms) -1.3ms (1.1%) 👍
table-update-10th-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table/update-10th/1k duration 77.15 (±3.00 ms) 75.30 (±1.45 ms) -1.9ms (2.4%) 👍
tablecmp-append-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/append/1k duration 257.45 (±8.40 ms) 256.30 (±5.25 ms) -1.2ms (0.4%) 👌
tablecmp-clear-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/clear/1k duration 12.35 (±1.55 ms) 11.60 (±1.70 ms) -0.8ms (6.1%) 👌
tablecmp-create-10k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/create/10k duration 1781.45 (±18.20 ms) 1757.05 (±18.55 ms) -24.4ms (1.4%) 👍
tablecmp-create-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/create/1k duration 214.60 (±4.70 ms) 214.25 (±6.85 ms) -0.3ms (0.2%) 👌
tablecmp-update-10th-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-component/update-10th/1k duration 72.40 (±5.05 ms) 71.95 (±6.45 ms) -0.5ms (0.6%) 👌
wc-append-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/append/1k duration 261.80 (±5.55 ms) 259.15 (±5.15 ms) -2.7ms (1.0%) 👌
wc-clear-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/clear/1k duration 23.10 (±2.30 ms) 22.35 (±2.25 ms) -0.8ms (3.2%) 👌
wc-create-10k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/create/10k duration 2011.55 (±10.45 ms) 1949.20 (±13.95 ms) -62.3ms (3.1%) 👍
wc-create-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/create/1k duration 229.15 (±5.10 ms) 226.85 (±5.90 ms) -2.3ms (1.0%) 👌
wc-update-10th-1k metric base(6eb7eda) target(8e766a2) trend
benchmark-table-wc/update-10th/1k duration 73.20 (±4.50 ms) 70.15 (±5.85 ms) -3.0ms (4.2%) 👌

@caridy
Copy link
Collaborator Author

caridy commented Jan 17, 2019

I see 3 non-related compat test failures, but I don't know if these are flappers or not.

@@ -276,3 +285,36 @@ export function PatchedNode(node: Node): NodeConstructor {
setPrototypeOf(PatchedNodeClass.prototype, Ctor.prototype);
return (PatchedNodeClass as any) as NodeConstructor;
}

let setInternalChildNodeAccessorFlag = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit pick
setInternalChildNodeAccessorFlag => internalChildNodeAccessorFlag
This is the flag itself, so using a verb in its name seems incorrect.


/**
* These 2 methods are providing a machinery to understand who is accessing the
* .childNode member property of a node. If it is used from inside the synthetic shadow
Copy link
Contributor

Choose a reason for hiding this comment

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

typo .childNode member property => childNodes member property

}
}
return childNodes;
} : function getExternalChildNodes(node: Node): NodeListOf<ChildNode> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why this function is not an anonymous function?
Also why not an arrow function?

try {
childNodes = node.childNodes;
} catch (e) {
// childNode accessor should never throw, but just in case!
Copy link
Contributor

Choose a reason for hiding this comment

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

childNode accessor => childNodes accessor

@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 6eb7eda | Target commit: 0e37cab

lwc-engine-benchmark

table-append-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table/append/1k duration 155.60 (±5.65 ms) 152.65 (±4.95 ms) -2.9ms (1.9%) 👌
table-clear-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table/clear/1k duration 6.25 (±0.40 ms) 6.40 (±0.35 ms) +0.2ms (2.4%) 👌
table-create-10k metric base(6eb7eda) target(0e37cab) trend
benchmark-table/create/10k duration 931.65 (±5.60 ms) 929.15 (±8.00 ms) -2.5ms (0.3%) 👌
table-create-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table/create/1k duration 120.80 (±3.05 ms) 120.15 (±3.40 ms) -0.7ms (0.5%) 👌
table-update-10th-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table/update-10th/1k duration 77.15 (±3.00 ms) 86.30 (±3.90 ms) +9.2ms (11.9%) 👎
tablecmp-append-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-component/append/1k duration 257.45 (±8.40 ms) 254.30 (±5.80 ms) -3.2ms (1.2%) 👌
tablecmp-clear-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-component/clear/1k duration 12.35 (±1.55 ms) 12.05 (±1.85 ms) -0.3ms (2.4%) 👌
tablecmp-create-10k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-component/create/10k duration 1781.45 (±18.20 ms) 1780.00 (±21.35 ms) -1.4ms (0.1%) 👌
tablecmp-create-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-component/create/1k duration 214.60 (±4.70 ms) 213.20 (±5.35 ms) -1.4ms (0.7%) 👌
tablecmp-update-10th-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-component/update-10th/1k duration 72.40 (±5.05 ms) 69.85 (±3.25 ms) -2.6ms (3.5%) 👍
wc-append-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-wc/append/1k duration 261.80 (±5.55 ms) 256.60 (±6.15 ms) -5.2ms (2.0%) 👍
wc-clear-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-wc/clear/1k duration 23.10 (±2.30 ms) 22.45 (±2.10 ms) -0.6ms (2.8%) 👌
wc-create-10k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-wc/create/10k duration 2011.55 (±10.45 ms) 1973.85 (±10.30 ms) -37.7ms (1.9%) 👍
wc-create-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-wc/create/1k duration 229.15 (±5.10 ms) 224.95 (±5.20 ms) -4.2ms (1.8%) 👍
wc-update-10th-1k metric base(6eb7eda) target(0e37cab) trend
benchmark-table-wc/update-10th/1k duration 73.20 (±4.50 ms) 72.75 (±5.20 ms) -0.5ms (0.6%) 👌

@caridy
Copy link
Collaborator Author

caridy commented Jan 17, 2019

I still see 2 compat failures... not sure...

@@ -31,6 +32,8 @@ import { getShadowRoot } from './shadow-root';
const OwnerKey = '$$OwnerKey$$';
const OwnKey = '$$OwnKey$$';

export const hasNativeSymbolsSupport = Symbol('x').toString() === 'Symbol(x)';
Copy link
Member

Choose a reason for hiding this comment

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

Let's reuse the shared version:

const hasNativeSymbolsSupport = Symbol('x').toString() === 'Symbol(x)';

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

that one might change in the future once we have the weakmaps, so let's keep them separate. Also we plan to disconnect engine from synthetic.

@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 6eb7eda | Target commit: 157ad28

lwc-engine-benchmark

table-append-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table/append/1k duration 155.60 (±5.65 ms) 152.95 (±5.65 ms) -2.7ms (1.7%) 👌
table-clear-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table/clear/1k duration 6.25 (±0.40 ms) 6.30 (±0.40 ms) +0.0ms (0.8%) 👌
table-create-10k metric base(6eb7eda) target(157ad28) trend
benchmark-table/create/10k duration 931.65 (±5.60 ms) 910.90 (±6.70 ms) -20.8ms (2.2%) 👍
table-create-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table/create/1k duration 120.80 (±3.05 ms) 119.60 (±2.65 ms) -1.2ms (1.0%) 👌
table-update-10th-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table/update-10th/1k duration 77.15 (±3.00 ms) 76.05 (±1.90 ms) -1.1ms (1.4%) 👍
tablecmp-append-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-component/append/1k duration 257.45 (±8.40 ms) 258.60 (±5.25 ms) +1.1ms (0.4%) 👌
tablecmp-clear-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-component/clear/1k duration 12.35 (±1.55 ms) 13.15 (±1.35 ms) +0.8ms (6.5%) 👎
tablecmp-create-10k metric base(6eb7eda) target(157ad28) trend
benchmark-table-component/create/10k duration 1781.45 (±18.20 ms) 1791.20 (±16.40 ms) +9.8ms (0.5%) 👌
tablecmp-create-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-component/create/1k duration 214.60 (±4.70 ms) 213.20 (±4.20 ms) -1.4ms (0.7%) 👌
tablecmp-update-10th-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-component/update-10th/1k duration 72.40 (±5.05 ms) 72.50 (±4.70 ms) +0.1ms (0.1%) 👌
wc-append-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-wc/append/1k duration 261.80 (±5.55 ms) 263.40 (±6.10 ms) +1.6ms (0.6%) 👌
wc-clear-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-wc/clear/1k duration 23.10 (±2.30 ms) 24.15 (±1.50 ms) +1.0ms (4.5%) 👎
wc-create-10k metric base(6eb7eda) target(157ad28) trend
benchmark-table-wc/create/10k duration 2011.55 (±10.45 ms) 1982.10 (±11.00 ms) -29.5ms (1.5%) 👍
wc-create-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-wc/create/1k duration 229.15 (±5.10 ms) 227.60 (±4.45 ms) -1.5ms (0.7%) 👌
wc-update-10th-1k metric base(6eb7eda) target(157ad28) trend
benchmark-table-wc/update-10th/1k duration 73.20 (±4.50 ms) 73.10 (±4.75 ms) -0.1ms (0.1%) 👌

@caridy
Copy link
Collaborator Author

caridy commented Jan 17, 2019

confirmed that the failures are flapper :( I'm merging this, and we can prepare the patch branch.

@caridy caridy merged commit 4931eec into master Jan 17, 2019
@ravijayaramappa ravijayaramappa deleted the caridy/issue-973/cloneNode-fix-in-ie11 branch January 17, 2019 20:08
caridy added a commit that referenced this pull request Jan 17, 2019
#974)

* fix(engine): fixes #973 to support cloneNode with ie11 devtool comment
* fix(engine): fix for devtool logging of -bash on a root custom element
* fix(engine): more guarding around isNodeSlotted for inserted nodes
caridy added a commit that referenced this pull request Jan 18, 2019
#974) (#980)

* fix(engine): fixes #973 to support cloneNode with ie11 devtool comment
* fix(engine): fix for devtool logging of -bash on a root custom element
* fix(engine): more guarding around isNodeSlotted for inserted nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants