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