🧪 Verify Compressor::compress Parallel Execution#385
Conversation
- Renamed `test_parallel_compression_roundtrip` to `test_parallel_deflate_1mb` for clarity. - Added `test_parallel_deflate_boundary` to test the 256KB threshold trigger. - Added `test_parallel_deflate_large` (10MB) to verify scalability. - Added `test_parallel_zlib_large` and `test_parallel_gzip_large` (5MB) to cover format wrappers. - Added `test_parallel_insufficient_space` to verify error propagation in parallel mode. These tests ensure that the parallel execution path, which activates for inputs > 256KB, functions correctly across different formats and handles edge cases like buffer limits properly. Co-authored-by: 404Setup <[email protected]>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Added comprehensive tests for
Compressor::compressparallel execution path intests/parallel_test.rs. The new tests cover:This addresses the testing gap for the parallel compression logic which splits large inputs into 256KB chunks using Rayon.
PR created automatically by Jules for task 10957149517226981161 started by @404Setup