dice icon indicating copy to clipboard operation
dice copied to clipboard

Expand benchmark for EncodeInt and DecodeInt

Open JyotinderSingh opened this issue 1 year ago • 3 comments

The current benchmark for EncodeInt and DecodeInt only tests positive integers up to MaxInt64. We should expand the benchmarks to cover a wider range of scenarios, including negative numbers and very large numbers. Tasks:

Create additional benchmark functions or modify the existing one to cover:

  • Negative numbers
  • Numbers close to INT64_MIN and INT64_MAX

Run benchmarks and analyze results to ensure performance is consistent across different input ranges

JyotinderSingh avatar Aug 03 '24 14:08 JyotinderSingh

Hey @JyotinderSingh let me handle #221 and this one.

Vsareen0 avatar Aug 03 '24 14:08 Vsareen0

Hey @JyotinderSingh let me handle #221 and this one.

Sure, could you please comment on the other issue too (can't assign unless you have interacted with it)

JyotinderSingh avatar Aug 03 '24 15:08 JyotinderSingh

Sure.

Vsareen0 avatar Aug 03 '24 15:08 Vsareen0