Skip to content

test(adapters): added stress test for chalk adapter under high-volume output - #40

Open
tmdeveloper007 wants to merge 2 commits into
mainfrom
#3290
Open

test(adapters): added stress test for chalk adapter under high-volume output#40
tmdeveloper007 wants to merge 2 commits into
mainfrom
#3290

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

Summary of What Has Been Done

Added with 6 stress test cases exercising the chalk adapter under high-volume output.

Changes Made

  • Created with 6 test cases:
    • 1,000 rapid successive calls with mixed ANSI sequences: verifies no errors
    • 5,000 rapid successive calls: verifies no slowdown (< 500ms total)
    • Consistency check at 1,000-call scale: verifies correct output
    • NO_COLOR stress test: verifies ANSI stripping at 1,000-call scale
    • Deeply nested ANSI sequences (10 levels): verifies stability
    • Empty string handling at 1,000-call scale: verifies no crashes

Impact it Made

  • Validates that the chalk adapter is stable under high-throughput load
  • Catches potential buffer overflow or style leakage issues
  • Provides regression coverage for high-volume output scenarios

Closes Karanjot786#3290.

Note: Please assign this PR to the tmdeveloper007 account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(adapters): add stress test for chalk adapter under high-volume output

1 participant