bitter-ability-32190
04/19/2023, 6:50 PMRustPython
to our engine's deps.
Now let's say someone wanted to rewrite our Python dep parser script in Rust.
What do we think would yield the best perf in the average case?
1. An intrinsic which leverages the local_cache
to cache Digest -> results
◦ Doesn't support remote cache
2. Build a full executable and use that
3. An intrinsic without caching
I'm guessing 1 is enough because the code is likely faster than the latency of the network + overhead of the remote download codewitty-crayon-22786
04/19/2023, 6:54 PMbitter-ability-32190
04/19/2023, 6:54 PMwitty-crayon-22786
04/19/2023, 6:54 PMbitter-ability-32190
04/19/2023, 6:54 PMwitty-crayon-22786
04/19/2023, 6:54 PMwide-midnight-78598
04/19/2023, 7:03 PMbitter-ability-32190
04/19/2023, 7:03 PMwide-midnight-78598
04/19/2023, 7:03 PMbitter-ability-32190
04/19/2023, 7:04 PMwide-midnight-78598
04/19/2023, 7:05 PMbitter-ability-32190
04/19/2023, 7:17 PMhappy-kitchen-89482
04/19/2023, 9:43 PMbitter-ability-32190
04/19/2023, 9:44 PMhappy-kitchen-89482
04/19/2023, 9:50 PMbitter-ability-32190
04/19/2023, 9:50 PMwitty-crayon-22786
04/19/2023, 9:50 PMbitter-ability-32190
04/19/2023, 9:50 PMhappy-kitchen-89482
04/19/2023, 10:04 PMwitty-crayon-22786
04/19/2023, 10:06 PMhappy-kitchen-89482
04/19/2023, 10:07 PMbitter-ability-32190
04/19/2023, 10:11 PM08:34:56.08 [WARN] ParsedPythonDependencies(imports=ParsedPythonImports({'__future__.annotations': ParsedPythonImportInfo(lineno=4, weak=False), 'pants.util.frozendict.FrozenDict': ParsedPythonImportInfo(lineno=9, weak=False), 'dataclasses.dataclass': ParsedPythonImportInfo(lineno=6, weak=False), 'pants.engine.collection.DeduplicatedCollection': ParsedPythonImportInfo(lineno=8, weak=False)}), assets=ParsedPythonAssetPaths([]))