Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [MemoryDiagnoser]
- public class NameParserBenchmarks
- {
- private const string FullName = "Steve J Gordon";
- private static readonly NameParser Parser = new NameParser();
- [Benchmark(Baseline = true)]
- public void GetLastName()
- {
- Parser.GetLastName(FullName);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement