dice icon indicating copy to clipboard operation
dice copied to clipboard

#184 : Test cases and benchmarking for queueref remove

Open VipinRaiP opened this issue 1 year ago • 2 comments

Summary

Unit test cases for QueueRef.Remove() and benchmarking for QueueRef.

Changes

  • Test for removing from queue with single non-expired keys.
  • Test for removing from queue with multiple non-expired keys.
  • Test for removing from queue with expired keys before non-expired.
  • Test for removing from queue with multiple expired keys before non-expired.
  • Test for removing from queue with all expired keys.
  • Benchmark Queueref by inserting expired, non-expired and expired keys in order and removing them.

Benchmark results

Screenshot 2024-08-04 at 9 13 31 AM

Issue : #184

Thank you @JyotinderSingh

VipinRaiP avatar Aug 04 '24 03:08 VipinRaiP

Please rebase this PR on master, the failing test should be fixed automatically.

JyotinderSingh avatar Aug 04 '24 05:08 JyotinderSingh

Please rebase this PR on master, the failing test should be fixed automatically.

Done, tests are passing now, thanks

VipinRaiP avatar Aug 04 '24 05:08 VipinRaiP