I realized that the call refactor dropped the check number of args verification that was previously present.
I added it back via a staticArgs field.
I also reverted the change of passing the whole signature (it is only passing the arguments), since the function name can be computed using fun.
I then wondered why permissions was passed to call: I initially thought that this was a hint at the need of structured fixtureData... however when digging, I realized that this argument wasn't used... so I dropped it.
typos-lsp found a pasword typo.
I have run some basic cpuprofiling on the tests:
- the test run 25% faster (15s instead of 20s) if we disable the fixture insertion (only keep the fixture cleanup). Maybe a
unittest.ClearFixtureTables() method would be a good investment
- somehow of the remaining 15s, my cpuprofile shows only 5s. The main time seems spent blocking somewhere, but I wasn't able to pinpoint where exactly. Maybe this is worth some further digging.
Overall I think that the current shape (with or without the present suggestions) is in a shape that I would be able to maintain forward!
I realized that the `call` refactor dropped the `check number of args` verification that was previously present.
I added it back via a `staticArgs` field.
I also reverted the change of passing the whole signature (it is only passing the arguments), since the function name can be computed using `fun`.
---
I then wondered why `permissions` was passed to `call`: I initially thought that this was a hint at the need of structured fixtureData... however when digging, I realized that this argument wasn't used... so I dropped it.
---
[typos-lsp](https://github.com/tekumara/typos-lsp) found a `pasword` typo.
---
I have run some basic cpuprofiling on the tests:
- the test run 25% faster (15s instead of 20s) if we disable the fixture insertion (only keep the fixture cleanup). Maybe a `unittest.ClearFixtureTables()` method would be a good investment
- somehow of the remaining 15s, my cpuprofile shows only 5s. The main time seems spent blocking somewhere, but I wasn't able to pinpoint where exactly. Maybe this is worth some further digging.
---
Overall I think that the current shape (with or without the present suggestions) is in a shape that I would be able to maintain forward!