Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
as [at]kayoub5 correctly pointed out, `inspect.signature()` is pretty slow and this is a relatively "hot" code path, which lead to a performance regression of about 30% when listing one of my bigger PDX files. as [at]kayoub5 suggested, `inspect.signature()` can be replaced by `dataclasses.fields()`. This keeps the performance `list` for above file virtually unchanged. Cool! Signed-off-by: Andreas Lauser <andreas.lauser@mbition.io> Signed-off-by: Alexander Walz <alexander.walz@mbition.io>
- Loading branch information