refined-addition-53644
03/28/2023, 11:58 AMscie-pants
mypy checks are slower. I am using it as a pre commit hook and don’t remember it being so slow before
I am using with transitive dependees option.
Checking source files type hints.........................................Passed
- hook id: type-hint-check
- duration: 65.29s
refined-addition-53644
03/28/2023, 11:59 AM- id: type-hint-check
name: Checking source files type hints
entry: "pants --changed-since=HEAD --changed-dependees=transitive check"
curved-television-6568
03/28/2023, 12:01 PMscie-pants
is causing this as it just hands over to the regular thing after bootstrapping. Do you have the old ./pants
script around to compare timings with for your current conditions?refined-addition-53644
03/28/2023, 12:02 PMChecking source files type hints.........................................Passed
- hook id: type-hint-check
- duration: 17.06s
I don’t have the ./pants
script but I suppose I can copy it and test with it to confirmcurved-television-6568
03/28/2023, 12:03 PMrefined-addition-53644
03/28/2023, 12:04 PMcurved-television-6568
03/28/2023, 12:04 PM-ldebug
I guess..curved-television-6568
03/28/2023, 12:04 PMcurved-television-6568
03/28/2023, 12:05 PMcurved-television-6568
03/28/2023, 12:06 PMscie-pants
just before that first lint run for instance, in which case you get a fresh pants install and likely some cold-ish caches..enough-analyst-54434
03/28/2023, 12:07 PM$ RUST_LOG=debug pants -V 2>&1 | grep prepare_boot
[DEBUG TimerFinished] jump::prepare_boot(), Elapsed=200.925µs
[DEBUG TimerFinished] jump::prepare_boot(), Elapsed=417.318µs
refined-addition-53644
03/28/2023, 12:08 PMscie-pants
. The only change between two runs I posted above was one with --changed-dependees=transitive
and one withoutcurved-television-6568
03/28/2023, 12:09 PMcurved-television-6568
03/28/2023, 12:11 PMrefined-addition-53644
03/28/2023, 12:11 PM./pants
with scie-pants
and see if it is just recency bias