1 write to original
Microsoft.AspNetCore.Components.Performance (1)
RenderTreeDiffBuilderBenchmark.cs (1)
25
original
= new RenderTreeBuilder();
20 references to original
Microsoft.AspNetCore.Components.Performance (20)
RenderTreeDiffBuilderBenchmark.cs (20)
26
original
.OpenElement(0, "div");
27
original
.AddAttribute(1, "class", "form-group");
29
original
.OpenElement(2, "label");
30
original
.AddAttribute(3, "class", "control-label");
31
original
.AddAttribute(4, "for", "name");
32
original
.AddAttribute(5, "data-unvalidated", true);
33
original
.AddContent(6, "Car");
34
original
.CloseElement();
36
original
.OpenElement(7, "input");
37
original
.AddAttribute(8, "class", "form-control");
38
original
.AddAttribute(9, "type", "text");
39
original
.AddAttribute(10, "name", "name"); // Notice the gap in sequence numbers
40
original
.AddAttribute(12, "value", "");
41
original
.CloseElement();
43
original
.OpenElement(13, "span");
44
original
.AddAttribute(14, "class", "text-danger field-validation-valid");
45
original
.AddContent(15, "");
46
original
.CloseElement();
48
original
.CloseElement();
82
var diff = RenderTreeDiffBuilder.ComputeDiff(renderer, builder, 0, modified.GetFrames(),
original
.GetFrames());