()
| 207 | |
| 208 | @register_benchmark |
| 209 | def method_caller(): |
| 210 | mc = methodcaller("func") |
| 211 | obj = MyClass() |
| 212 | for i in range(1000 * WORK_SCALE): |
| 213 | mc(obj) |
| 214 | |
| 215 | @dataclass |
| 216 | class MyDataClass: |
nothing calls this directly
no test coverage detected
searching dependent graphs…