🐛 Bug Report
Affected Languages
General Information
- JSII Version: 1.7.0
- Platform: Linux docker-desktop 4.19.104-microsoft-standard
What is the problem?
jsii-pacmak is very slow when python is compiling 700+ files (hashicorp/terraform-cdk#276) in a fresh pipenv. On the order of 10 minutes.
I managed to track the main slowness of trying to integrate jsii-srcmak into cdktf to running python setup. I'm not certain how much of the time is sdist vs wheel though.
Subsequent runs in the same environment are much faster. Still slower than ideal, but #1854 and #1855 are more relevant in that case.
@skorfmann also observed "one python process takes up the majority of the time and consumes up to 2.8 GB of memory at 100% cpu" while building the cdk tf aws provider (https://github.com/skorfmann/cdktf-provider-aws)
Verbose Log
🐛 Bug Report
Affected Languages
TypeScriptorJavascriptPythonJavaC#,F#, ...)General Information
What is the problem?
jsii-pacmak is very slow when python is compiling 700+ files (hashicorp/terraform-cdk#276) in a fresh pipenv. On the order of 10 minutes.
I managed to track the main slowness of trying to integrate jsii-srcmak into cdktf to running python setup. I'm not certain how much of the time is sdist vs wheel though.
Subsequent runs in the same environment are much faster. Still slower than ideal, but #1854 and #1855 are more relevant in that case.
@skorfmann also observed "one python process takes up the majority of the time and consumes up to 2.8 GB of memory at 100% cpu" while building the cdk tf aws provider (https://github.com/skorfmann/cdktf-provider-aws)
Verbose Log