DEV Community

Discussion on: LeetCode with C# - Reverse A String

Collapse
 
kj2whe profile image
Jason

Just wondering, how do you measure performance? Do you use the stopwatch class?

Collapse
 
felpel profile image
Félix Pelletier

Maybe with BenchmarkDotNet, considering its fair popularity and its easiness for setup

Collapse
 
charkinsdevelopment profile image
Cory Harkins

I have seen the stopwatch class being used a lot in my research on solving these problems.

Solving this one through LeetCode.com they provide a timing analysis on their site. For this one, I just used the provided stats from LeetCode.