I'm thinking of refactoring this to use a jump table that has delegates, but I was curious on how I could benchmark the performance of both cases using Benchmark.Net
I know benchmarking can be tricky, but do I
1. Benchmark the Decode() method that the switch statement belongs to 2. Benchmark that same method, but with the jump table?