Skip to content

Commit 6e1617c

Browse files
committed
remove temps
1 parent 80d2229 commit 6e1617c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/benchmarks/micro/libraries/System.Runtime/Perf.String.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,6 @@ public static IEnumerable<int> GetStarts()
297297

298298
[Benchmark]
299299
public void Substring() => _s.Substring(Start);
300-
301-
// TEMP: For comparison
302-
[Benchmark]
303-
public void NewString() => new string('\0', _s.Length - Start);
304300
}
305301

306302
[BenchmarkCategory(Categories.Runtime, Categories.Libraries)]
@@ -336,10 +332,6 @@ public void Substring()
336332
var slice = Slice;
337333
_s.Substring(slice.StartIndex, slice.Length);
338334
}
339-
340-
// TEMP: For comparison
341-
[Benchmark]
342-
public void NewString() => new string('\0', Slice.Length);
343335
}
344336

345337
public class StringArguments

0 commit comments

Comments
 (0)