Added Rust vs C comparison versions for all standard BSON micro-benchmarks: - Flat encoding/decoding (TestRustFlat*) - Deep encoding/decoding (TestRustDeep*) - Full encoding/decoding (TestRustFull*) These tests use the same test data as the standard benchmarks but explicitly compare C vs Rust implementations. Each benchmark has two versions: - *C: Uses C extension (implementation = 'c') - *Rust: Uses Rust extension (implementation = 'rust') The RustComparisonTest base class handles switching between implementations by setting/unsetting PYMONGO_USE_RUST environment variable and reloading the bson module. This provides comprehensive performance comparison data between the C and Rust BSON implementations across all standard benchmark datasets. |
||
|---|---|---|
| .. | ||
| async_perf_test.py | ||
| perf_test.py | ||