Run benchmark for a single test object.
(self, name: str, obj: Any)
| 436 | self.results = {} |
| 437 | |
| 438 | def run_test(self, name: str, obj: Any) -> Dict[str, Any]: |
| 439 | """Run benchmark for a single test object.""" |
| 440 | bench = PickleBenchmark(obj, self.protocol, self.iterations) |
| 441 | results = bench.run_all() |
| 442 | results['test_name'] = name |
| 443 | results['object_type'] = type(obj).__name__ |
| 444 | return results |
| 445 | |
| 446 | def run_all_tests(self) -> Dict[str, Dict[str, Any]]: |
| 447 | """Run comprehensive test suite across all sizes and types.""" |
no test coverage detected